Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 109.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7611 GB, free: 11.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 63.91 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8727/0.8753, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002006/0.8773, allocations: 0.5269 MB / 1.269 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 5.113e-05/0.8773, allocations: 7.938 kB / 1.269 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.8774, allocations: 0 / 1.269 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.8774, allocations: 0 / 1.269 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.8774, allocations: 4 kB / 1.269 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.286e-05/0.8775, allocations: 0 / 1.269 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.8775, allocations: 11.98 kB / 1.269 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.8776, allocations: 4 kB / 1.269 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.8776, allocations: 3.938 kB / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.8776, allocations: 0 / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.8776, allocations: 0 / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.8777, allocations: 0 / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.8777, allocations: 0 / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.8777, allocations: 0 / 1.269 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.451e-05/0.8777, allocations: 7.984 kB / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8777, allocations: 0 / 1.269 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8778, allocations: 4 kB / 1.269 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.8778, allocations: 0 / 1.269 GB, free: 4.617 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003871/0.8781, allocations: 323.3 kB / 1.27 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8782, allocations: 8.031 kB / 1.27 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.8782, allocations: 38.67 kB / 1.27 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.8782, allocations: 0.9375 kB / 1.27 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.8784, allocations: 164.4 kB / 1.27 GB, free: 4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.8784, allocations: 4.375 kB / 1.27 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.8784, allocations: 384 / 1.27 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.8785, allocations: 34.2 kB / 1.27 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.8785, allocations: 3.938 kB / 1.27 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.8785, allocations: 0 / 1.27 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8785, allocations: 0 / 1.27 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.8786, allocations: 4 kB / 1.27 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.8789, allocations: 383.5 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.8791, allocations: 177.1 kB / 1.27 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.8791, allocations: 80.14 kB / 1.27 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.8791, allocations: 75.28 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.8792, allocations: 105.8 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8792, allocations: 0 / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.05e-05/0.8793, allocations: 33.64 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.8794, allocations: 134.7 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.8795, allocations: 97.86 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.8795, allocations: 25.7 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.8795, allocations: 80.14 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.8796, allocations: 0 / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.8796, allocations: 9.719 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8797, allocations: 310.8 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.8797, allocations: 4.125 kB / 1.271 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-06/0.8798, allocations: 4 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.8798, allocations: 75.28 kB / 1.271 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-05/0.8798, allocations: 83.22 kB / 1.271 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.903e-05/0.8799, allocations: 33.62 kB / 1.272 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.8799, allocations: 83.28 kB / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/0.88, allocations: 79.28 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.8801, allocations: 158.6 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.8801, allocations: 79.22 kB / 1.272 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.068e-05/0.8802, allocations: 154.6 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.8803, allocations: 83.16 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.8803, allocations: 75.28 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.8805, allocations: 264.3 kB / 1.272 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.8806, allocations: 116.9 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.8806, allocations: 105.7 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.685e-05/0.8807, allocations: 176.3 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.697e-05/0.8808, allocations: 184.2 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.211e-05/0.8809, allocations: 180.2 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.8813, allocations: 409.1 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/0.8813, allocations: 105 kB / 1.274 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.8814, allocations: 105 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.545e-05/0.8814, allocations: 180.2 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/0.8815, allocations: 176.3 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.569e-05/0.8816, allocations: 188.1 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.761e-05/0.8817, allocations: 188.3 kB / 1.274 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.8819, allocations: 308.1 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.882, allocations: 186 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.8821, allocations: 180.2 kB / 1.275 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.8822, allocations: 117 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.8822, allocations: 176.3 kB / 1.275 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/0.8823, allocations: 104.9 kB / 1.275 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.8824, allocations: 79.28 kB / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8824, allocations: 0 / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002974/0.8826, allocations: 0 / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004992/0.8831, allocations: 0.8093 MB / 1.276 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.064e-05/0.8832, allocations: 3.938 kB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8832, allocations: 0 / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.8832, allocations: 0 / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.8836, allocations: 469.7 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.8849, allocations: 1.52 MB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.8852, allocations: 0.6729 MB / 1.279 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.804e-06/0.8852, allocations: 0 / 1.279 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.8852, allocations: 7.438 kB / 1.279 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.8852, allocations: 0 / 1.279 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.9114, allocations: 0.9358 MB / 1.28 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.925, allocations: 10.11 kB / 1.28 GB, free: 9.312 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.024403359275311]