Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002875/0.002875, allocations: 193.5 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.2 MB / 0.6642 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8658, allocations: 140.4 MB / 0.9489 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002261/0.8681, allocations: 0.7245 MB / 0.9496 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.8691, allocations: 0.8087 MB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.8691, allocations: 0 / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.8692, allocations: 3.938 kB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.959e-05/0.8693, allocations: 5.375 kB / 0.9504 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.8694, allocations: 5.359 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.8695, allocations: 21.56 kB / 0.9505 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.8696, allocations: 10.73 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.8697, allocations: 6.75 kB / 0.9505 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.8698, allocations: 10.67 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.8698, allocations: 1.375 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.8698, allocations: 1.375 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.8698, allocations: 5.375 kB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.8698, allocations: 9.297 kB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.681e-05/0.8699, allocations: 24.02 kB / 0.9505 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8699, allocations: 1.375 kB / 0.9505 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8699, allocations: 0 / 0.9505 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.87, allocations: 4 kB / 0.9505 GB, free: 8.016 MB / 0.7169 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.0003929/0.8704, allocations: 339.2 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8704, allocations: 8.25 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.8704, allocations: 6.312 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.754e-05/0.8705, allocations: 165.7 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8705, allocations: 9.688 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.8706, allocations: 1.75 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8707, allocations: 53.23 kB / 0.9511 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.8708, allocations: 4.172 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8708, allocations: 5.312 kB / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8708, allocations: 0 / 0.9511 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.871, allocations: 35.2 kB / 0.9511 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.8713, allocations: 239.9 kB / 0.9514 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.8714, allocations: 48.19 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.8715, allocations: 22.3 kB / 0.9514 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.8715, allocations: 0 / 0.9514 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.8716, allocations: 39.75 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8716, allocations: 0 / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.8719, allocations: 80.45 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.872, allocations: 57.19 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.8721, allocations: 98.05 kB / 0.9517 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8721, allocations: 25.7 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.8721, allocations: 81.67 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.8721, allocations: 17.23 kB / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.8722, allocations: 10.94 kB / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.8722, allocations: 316.2 kB / 0.9521 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.8723, allocations: 17.36 kB / 0.9521 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.8724, allocations: 22.03 kB / 0.9522 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.8726, allocations: 34.83 kB / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8726, allocations: 0 / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00022/0.8728, allocations: 80.53 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8729, allocations: 5.969 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8729, allocations: 0 / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8729, allocations: 0 / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.873, allocations: 6.5 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.873, allocations: 3.984 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.873, allocations: 3.562 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.8731, allocations: 4.875 kB / 0.9523 GB, free: 6.191 MB / 0.7169 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.735e-05/0.8731, allocations: 112.5 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.8731, allocations: 5.25 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.8734, allocations: 73.36 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8734, allocations: 1.219 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8734, allocations: 0 / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8734, allocations: 0 / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.8735, allocations: 162.8 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8736, allocations: 0 / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.8736, allocations: 14.33 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8736, allocations: 0 / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.8736, allocations: 1.188 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8737, allocations: 0 / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.8737, allocations: 4 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.8739, allocations: 167.6 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.8739, allocations: 78.45 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.8739, allocations: 0 / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.874, allocations: 7.953 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.8741, allocations: 1.281 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.8741, allocations: 1.406 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.8741, allocations: 82.23 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8741, allocations: 3.938 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002234/0.8744, allocations: 11.75 kB / 0.953 GB, free: 5.453 MB / 0.7169 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.0001164/0.8745, allocations: 102 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.8747, allocations: 36.98 kB / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8747, allocations: 0 / 0.9531 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.8748, allocations: 19.45 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.8751, allocations: 19.22 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.8755, allocations: 101.6 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.8756, allocations: 0.6779 MB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.8757, allocations: 144 / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.8757, allocations: 8.656 kB / 0.9539 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.8757, allocations: 0 / 0.9539 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.002834/0.8786, allocations: 380 kB / 0.9543 GB, free: 4.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches