Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002712/0.002712, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.01/3.01, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.81e-05, allocations: 14.19 kB / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001903/0.001941, allocations: 0.6677 MB / 0.8115 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003117, allocations: 0.852 MB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.00315, allocations: 0 / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.003172, allocations: 0.7812 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.003248, allocations: 7.938 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003431, allocations: 9.672 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.003505, allocations: 23.94 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.003592, allocations: 11.97 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.003669, allocations: 15.94 kB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.003704, allocations: 3.984 kB / 0.8124 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.003725, allocations: 5.531 kB / 0.8124 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.003767, allocations: 4 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.003782, allocations: 4 kB / 0.8124 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.003806, allocations: 7.984 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.003919, allocations: 36.27 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003921, allocations: 4.844 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003921, allocations: 0 / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003926, allocations: 0.6875 kB / 0.8125 GB, free: 384 kB / 0.7605 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.0005206/0.004446, allocations: 356.3 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.00449, allocations: 9.625 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.004599, allocations: 12.83 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.004728, allocations: 112.6 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.004741, allocations: 4.375 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.004748, allocations: 1.094 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004895, allocations: 42.25 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004903, allocations: 0.7188 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.004911, allocations: 2 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.004918, allocations: 4.375 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.005042, allocations: 31.84 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.00543, allocations: 244.5 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.005542, allocations: 39.64 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.005609, allocations: 16.53 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.005629, allocations: 4 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.005663, allocations: 34.52 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.005664, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002861/0.00595, allocations: 78.88 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.005998, allocations: 51.41 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.006136, allocations: 165.9 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.006157, allocations: 27.45 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.006239, allocations: 130.8 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.00626, allocations: 7.953 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.006301, allocations: 19.38 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.006565, allocations: 0.4884 MB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.006618, allocations: 10.84 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.006665, allocations: 11.98 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.006765, allocations: 31.61 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006767, allocations: 0 / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001394/0.006906, allocations: 55.22 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006919, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.006926, allocations: 3.938 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006938, allocations: 0 / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.007014, allocations: 16.61 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007019, allocations: 0.5625 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.007049, allocations: 0.5625 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007057, allocations: 4 kB / 0.8144 GB, free: 14.19 MB / 0.7761 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.0001174/0.007175, allocations: 153.1 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.007202, allocations: 5.375 kB / 0.8146 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.007395, allocations: 68.86 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007397, allocations: 2.562 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.0074, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007402, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.007556, allocations: 120.6 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007557, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.007601, allocations: 8 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007603, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.00761, allocations: 0.5312 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.007618, allocations: 7.922 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.007619, allocations: 0.75 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.007873, allocations: 205 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.00789, allocations: 7.922 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.007904, allocations: 5.156 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.007967, allocations: 7.922 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.008019, allocations: 8 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.008022, allocations: 0.8438 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.008093, allocations: 123.2 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008093, allocations: 6.156 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000203/0.008296, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 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.0001155/0.008412, allocations: 95.23 kB / 0.8152 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.008578, allocations: 32.67 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008579, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.008655, allocations: 32.67 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.008885, allocations: 0 / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.009424, allocations: 115.5 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.29e-05/0.009497, allocations: 67.2 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.009518, allocations: 1.062 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.009553, allocations: 12.5 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009553, allocations: 0.6562 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003198/0.01275, allocations: 476.5 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.981108065927401]