Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.0008131/0.0008131, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000848/0.000848, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9061/0.9061, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.691/1.691, allocations: 359 MB / 0.6037 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.453e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001515/0.00154, allocations: 0.6639 MB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.002367, allocations: 0.847 MB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.002398, allocations: 0 / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.002428, allocations: 7.938 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.002483, allocations: 0 / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002665, allocations: 15.92 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.002732, allocations: 23.92 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.002823, allocations: 4 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.002895, allocations: 15.92 kB / 0.9521 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.129e-05/0.002926, allocations: 7.984 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002941, allocations: 11.94 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.477e-05/0.002986, allocations: 4 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.003001, allocations: 7.984 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.003018, allocations: 7.938 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003121, allocations: 19.97 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.003124, allocations: 4 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003126, allocations: 0 / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.00313, allocations: 0 / 0.9522 GB, free: 1.777 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.0003512/0.003481, allocations: 262.3 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.003521, allocations: 12.03 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.003551, allocations: 38.73 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.003615, allocations: 4.891 kB / 0.9525 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.003693, allocations: 109.8 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003702, allocations: 384 / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.00371, allocations: 4.375 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.003835, allocations: 50.17 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003842, allocations: 192 / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.003853, allocations: 12.36 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003859, allocations: 4.125 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.003947, allocations: 35.95 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.004225, allocations: 204.1 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.004308, allocations: 42.55 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.004353, allocations: 24.84 kB / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.00437, allocations: 0 / 0.9529 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.004393, allocations: 34.5 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.004394, allocations: 4 kB / 0.953 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002175/0.004612, allocations: 81.64 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.004642, allocations: 55.34 kB / 0.9531 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.004698, allocations: 101.9 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.004708, allocations: 25.7 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.004743, allocations: 88.08 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.004758, allocations: 3.938 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.004784, allocations: 17.72 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.004857, allocations: 314.9 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.004902, allocations: 19.98 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.004938, allocations: 19.97 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.005023, allocations: 36.83 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.005025, allocations: 0 / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001254/0.005151, allocations: 77.61 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.005165, allocations: 6.344 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.005169, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005179, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.691e-05/0.005246, allocations: 19.92 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005252, allocations: 3.938 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.005275, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.00528, allocations: 0 / 0.9538 GB, free: 15.9 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.712e-05/0.005337, allocations: 113.8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.005353, allocations: 11.97 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.005489, allocations: 64.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005491, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.005495, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005498, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.005601, allocations: 128.8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005602, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.005631, allocations: 7.984 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005634, allocations: 3.969 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.005641, allocations: 8 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005642, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005643, allocations: 0 / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.005775, allocations: 163.5 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-06/0.005783, allocations: 7.891 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.005792, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.005831, allocations: 7.984 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.005862, allocations: 7.938 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.005864, allocations: 4.031 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.005891, allocations: 83.28 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.005891, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001473/0.006039, allocations: 4 kB / 0.9544 GB, free: 15.22 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 0.0003374/0.006376, allocations: 0.7006 MB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.006505, allocations: 36 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006507, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.006545, allocations: 15.98 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.006778, allocations: 7.984 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.007108, allocations: 138.4 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.007152, allocations: 59.34 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.007172, allocations: 4.453 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.007207, allocations: 12.5 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.007207, allocations: 0 / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.0249, allocations: 1.955 MB / 0.9573 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.596/6.621, allocations: 1.719 kB / 0.9573 GB, free: 12.34 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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: 10.650954174809158]