Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008556/0.0008556, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008323/0.0008323, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9036/0.9036, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.655/1.655, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.584e-06/2.584e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.841e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001186/0.001215, allocations: 0.6756 MB / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.001985, allocations: 0.8353 MB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.002019, allocations: 4 kB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.002047, allocations: 3.938 kB / 0.9533 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.002102, allocations: 4 kB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.002284, allocations: 11.98 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.002353, allocations: 23.92 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.002453, allocations: 11.98 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.002519, allocations: 15.92 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.002552, allocations: 0 / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.002565, allocations: 7.938 kB / 0.9533 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.002609, allocations: 7.984 kB / 0.9534 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.002624, allocations: 4 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.00264, allocations: 4 kB / 0.9534 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002742, allocations: 43.81 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002744, allocations: 0 / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.002746, allocations: 0 / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.00275, allocations: 0 / 0.9534 GB, free: 1.254 MB / 0.9011 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.0003344/0.003085, allocations: 258.3 kB / 0.9536 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.003127, allocations: 12.03 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.003194, allocations: 0.9375 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.003272, allocations: 113.7 kB / 0.9538 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.003285, allocations: 4.375 kB / 0.9538 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.003292, allocations: 4.312 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.003422, allocations: 54.23 kB / 0.9538 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003429, allocations: 192 / 0.9538 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.003437, allocations: 384 / 0.9538 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003442, allocations: 4.375 kB / 0.9538 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.927e-05/0.003531, allocations: 39.83 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.003774, allocations: 188.6 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.003852, allocations: 34.56 kB / 0.9541 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.003898, allocations: 32.89 kB / 0.9541 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.003914, allocations: 0 / 0.9541 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.003933, allocations: 30.56 kB / 0.9541 GB, free: 388 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003934, allocations: 0 / 0.9541 GB, free: 388 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/0.004147, allocations: 89.52 kB / 0.9542 GB, free: 292 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.004175, allocations: 51.41 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.004227, allocations: 102 kB / 0.9544 GB, free: 116 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.004237, allocations: 29.7 kB / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.004279, allocations: 84.12 kB / 0.9545 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.004295, allocations: 3.953 kB / 0.9545 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.004318, allocations: 13.72 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.004396, allocations: 314.8 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.004436, allocations: 11.98 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.004474, allocations: 27.91 kB / 0.9548 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.004552, allocations: 44.83 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.004554, allocations: 0 / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.004656, allocations: 65.61 kB / 0.9549 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004666, allocations: 8 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004672, allocations: 3.938 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.004682, allocations: 0 / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.00474, allocations: 7.984 kB / 0.955 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.004744, allocations: 4.031 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.004764, allocations: 4 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004769, allocations: 4 kB / 0.955 GB, free: 15.46 MB / 0.9167 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 5.324e-05/0.004823, allocations: 113.8 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.004834, allocations: 0 / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.004963, allocations: 76.84 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004965, allocations: 0 / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.004969, allocations: 8.031 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004972, allocations: 0 / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.289e-05/0.005055, allocations: 105.3 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005056, allocations: 0 / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.005082, allocations: 8 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.005084, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.00509, allocations: 3.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.005092, allocations: 7.922 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005093, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.005214, allocations: 167.5 kB / 0.9554 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.005221, allocations: 7.938 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.005229, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.00527, allocations: 7.938 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.005302, allocations: 3.984 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.005305, allocations: 4 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.00533, allocations: 79.28 kB / 0.9555 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00533, allocations: 0 / 0.9555 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001441/0.005474, allocations: 4 kB / 0.9555 GB, free: 14.82 MB / 0.9167 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 8.394e-05/0.005558, allocations: 99.28 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.005678, allocations: 35.95 kB / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.005679, allocations: 0 / 0.9557 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.00572, allocations: 27.86 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.005924, allocations: 7.938 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.006161, allocations: 142.6 kB / 0.9558 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.006201, allocations: 59.34 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.006226, allocations: 8.5 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.006226, allocations: 0 / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.001605/0.007831, allocations: 0.5571 MB / 0.9565 GB, free: 13.82 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.241435201838613]