Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001677/0.001677, allocations: 110.6 kB / 16.45 MB, free: 6.035 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.002006/0.002006, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.552/1.552, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.632/2.632, allocations: 443.5 MB / 0.7287 GB, free: 13.21 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.89 kB / 1.056 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.923/0.925, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002313/0.9273, allocations: 0.6697 MB / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.9286, allocations: 0.8051 MB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.9287, allocations: 5.062 kB / 1.214 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.9287, allocations: 3.938 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.9288, allocations: 5.062 kB / 1.214 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.9289, allocations: 5.156 kB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.966e-05/0.929, allocations: 29.52 kB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.9291, allocations: 14.12 kB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.9292, allocations: 7.125 kB / 1.214 GB, free: 2.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.9292, allocations: 11.33 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.9293, allocations: 2.25 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.9293, allocations: 2.219 kB / 1.214 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.9293, allocations: 8 kB / 1.215 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.9293, allocations: 6.125 kB / 1.215 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.9294, allocations: 23.05 kB / 1.215 GB, free: 2.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9294, allocations: 0 / 1.215 GB, free: 2.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9294, allocations: 0 / 1.215 GB, free: 2.641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9294, allocations: 0 / 1.215 GB, free: 2.641 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.0005391/0.93, allocations: 341.3 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.93, allocations: 9.5 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.9301, allocations: 40.02 kB / 1.215 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.9301, allocations: 6.219 kB / 1.215 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.9303, allocations: 169.6 kB / 1.215 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.9303, allocations: 5.25 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.9303, allocations: 1.125 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.9305, allocations: 53.52 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9305, allocations: 5 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.9305, allocations: 0 / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9305, allocations: 1.125 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.9307, allocations: 38.17 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.931, allocations: 244.6 kB / 1.215 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.9312, allocations: 50.2 kB / 1.215 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.9313, allocations: 26.92 kB / 1.215 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.9313, allocations: 5.094 kB / 1.215 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.9313, allocations: 34.5 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9313, allocations: 1.062 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003552/0.9317, allocations: 76.58 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.9318, allocations: 51.41 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.9319, allocations: 103.4 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.9319, allocations: 25.7 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.932, allocations: 88.98 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.932, allocations: 9.031 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.932, allocations: 11.88 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9322, allocations: 312 kB / 1.216 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.9323, allocations: 17.83 kB / 1.216 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.9324, allocations: 21.22 kB / 1.216 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.9325, allocations: 38.98 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9325, allocations: 4.969 kB / 1.216 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.9327, allocations: 68.33 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9327, allocations: 5.531 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9327, allocations: 96 / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9328, allocations: 4 kB / 1.216 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.9328, allocations: 10 kB / 1.216 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.883e-05/0.9329, allocations: 4.797 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.933, allocations: 3.25 kB / 1.216 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.933, allocations: 1.062 kB / 1.216 GB, free: 0.7617 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 8.67e-05/0.9331, allocations: 112 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.9331, allocations: 1.062 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.9333, allocations: 78.05 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.9333, allocations: 1.094 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9333, allocations: 3.938 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9333, allocations: 1.094 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.9335, allocations: 158 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9335, allocations: 0 / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.9336, allocations: 9.391 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9336, allocations: 1.125 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.9336, allocations: 4.031 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9336, allocations: 4.906 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9336, allocations: 0 / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.9338, allocations: 163.2 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.9339, allocations: 86.03 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9339, allocations: 5.375 kB / 1.217 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.934, allocations: 10.7 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.934, allocations: 1.781 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.934, allocations: 1.125 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.293e-05/0.934, allocations: 86.8 kB / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.934, allocations: 0 / 1.217 GB, free: 16 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002122/0.9343, allocations: 4.062 kB / 1.217 GB, free: 16 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.0006477/0.9349, allocations: 0.6987 MB / 1.218 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.9351, allocations: 36.98 kB / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9351, allocations: 0 / 1.218 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.9352, allocations: 23.48 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.9355, allocations: 4.906 kB / 1.218 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.936, allocations: 147.5 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.9363, allocations: 0.6775 MB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.9363, allocations: 1.156 kB / 1.219 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.9364, allocations: 12.53 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9364, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.9614, allocations: 1.287 MB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.774, allocations: 7.453 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.86700443783775]