Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001867/0.001867, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002512/0.002512, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.544/1.544, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 67.89 kB / 1.061 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 160.7 MB / 1.218 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.003186/1.017, allocations: 0.6815 MB / 1.219 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001397/1.019, allocations: 0.8061 MB / 1.22 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/1.019, allocations: 1.094 kB / 1.22 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/1.019, allocations: 3.938 kB / 1.22 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/1.019, allocations: 5.125 kB / 1.22 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/1.019, allocations: 18.38 kB / 1.22 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/1.019, allocations: 21.33 kB / 1.22 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/1.019, allocations: 5.438 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/1.02, allocations: 19.45 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/1.02, allocations: 7.625 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/1.02, allocations: 1.125 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/1.02, allocations: 2.375 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/1.02, allocations: 9.203 kB / 1.22 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/1.02, allocations: 5.25 kB / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/1.02, allocations: 27.38 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.02, allocations: 4 kB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 1.156 kB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.912e-06/1.02, allocations: 0 / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006157/1.02, allocations: 336.3 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.021, allocations: 10.92 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/1.021, allocations: 2.094 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/1.021, allocations: 169.7 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/1.021, allocations: 1.469 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/1.021, allocations: 9.406 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/1.021, allocations: 41.5 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/1.021, allocations: 4.172 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.021, allocations: 9.156 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.021, allocations: 0 / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/1.021, allocations: 34.78 kB / 1.22 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/1.022, allocations: 248.2 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/1.022, allocations: 46.34 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/1.022, allocations: 18.25 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.022, allocations: 0.7188 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.022, allocations: 35.59 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 3.938e-06/1.022, allocations: 4 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005124/1.023, allocations: 80.52 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/1.023, allocations: 52.59 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.023, allocations: 102.9 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.023, allocations: 25.7 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/1.023, allocations: 85.08 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/1.023, allocations: 5.109 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/1.023, allocations: 20.34 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000376/1.023, allocations: 315.8 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/1.024, allocations: 17.77 kB / 1.221 GB, free: 1.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.024, allocations: 12.45 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/1.024, allocations: 44.52 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.024, allocations: 0 / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002816/1.024, allocations: 73.14 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.024, allocations: 4.719 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.024, allocations: 192 / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.024, allocations: 0 / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.024, allocations: 14.2 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.024, allocations: 0.8438 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/1.024, allocations: 15.25 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/1.024, allocations: 1.219 kB / 1.222 GB, free: 0.9414 MB / 0.92 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 (2): * Single equations (assignments): 2 * 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.0001207/1.025, allocations: 112.6 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/1.025, allocations: 1.375 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/1.025, allocations: 74.25 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.025, allocations: 1.562 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.025, allocations: 4.031 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/1.025, allocations: 4 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/1.025, allocations: 162.6 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.025, allocations: 0 / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/1.025, allocations: 10.2 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.025, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.025, allocations: 1.094 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.025, allocations: 3.938 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.025, allocations: 1.125 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/1.026, allocations: 170.4 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/1.026, allocations: 82.5 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.026, allocations: 0 / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/1.026, allocations: 11.86 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/1.026, allocations: 1.188 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.026, allocations: 1.125 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.918e-05/1.026, allocations: 82.88 kB / 1.222 GB, free: 208 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.026, allocations: 0 / 1.222 GB, free: 208 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000372/1.026, allocations: 7.406 kB / 1.222 GB, free: 204 kB / 0.92 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 (2): * Single equations (assignments): 2 * 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.000202/1.026, allocations: 101.5 kB / 1.222 GB, free: 112 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003013/1.027, allocations: 32.69 kB / 1.222 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.027, allocations: 1.125 kB / 1.222 GB, free: 100 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/1.027, allocations: 23.08 kB / 1.222 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/1.027, allocations: 14.11 kB / 1.222 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/1.028, allocations: 125.9 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/1.028, allocations: 0.6731 MB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.998e-05/1.028, allocations: 1.031 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/1.028, allocations: 8.562 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/1.028, allocations: 5.25 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.003816/1.032, allocations: 442 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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: 9.071137201972306]