Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001235/0.001235, 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.001465/0.001465, 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.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9997 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.655e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001388/0.001415, allocations: 0.6677 MB / 1 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.000822/0.002237, allocations: 0.8354 MB / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.002271, allocations: 4 kB / 1.001 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.002302, allocations: 0 / 1.001 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.002368, allocations: 11.92 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.002568, allocations: 15.92 kB / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.002639, allocations: 23.92 kB / 1.001 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.002735, allocations: 4 kB / 1.001 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.00281, allocations: 11.98 kB / 1.001 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.002845, allocations: 11.98 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.00286, allocations: 0 / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.002905, allocations: 7.938 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.00292, allocations: 4 kB / 1.001 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.002938, allocations: 8 kB / 1.001 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003042, allocations: 35.94 kB / 1.001 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.003044, allocations: 0 / 1.001 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003045, allocations: 0 / 1.001 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003049, allocations: 0 / 1.001 GB, free: 10.68 MB / 0.9167 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.0003274/0.003376, allocations: 266.3 kB / 1.002 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.003419, allocations: 8.75 kB / 1.002 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.003449, allocations: 30.75 kB / 1.002 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.003506, allocations: 8.875 kB / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.00358, allocations: 105.8 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003589, allocations: 4.312 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.0036, allocations: 12.38 kB / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.003726, allocations: 42.25 kB / 1.002 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.003734, allocations: 4.172 kB / 1.002 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.003742, allocations: 4.375 kB / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.003754, allocations: 8.109 kB / 1.002 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.003839, allocations: 31.97 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.00409, allocations: 208.1 kB / 1.002 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.00417, allocations: 42.5 kB / 1.002 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.004213, allocations: 20.91 kB / 1.002 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.004233, allocations: 0 / 1.002 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.004254, allocations: 42.5 kB / 1.002 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004255, allocations: 0 / 1.002 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.004468, allocations: 85.59 kB / 1.002 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.00465, allocations: 59.47 kB / 1.002 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.004707, allocations: 97.84 kB / 1.002 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.004727, allocations: 29.7 kB / 1.002 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.004759, allocations: 84.08 kB / 1.002 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.004779, allocations: 11.89 kB / 1.002 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.004802, allocations: 9.719 kB / 1.002 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.004879, allocations: 322.8 kB / 1.003 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.004921, allocations: 11.98 kB / 1.003 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.004955, allocations: 15.98 kB / 1.003 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.75e-05/0.005033, allocations: 44.88 kB / 1.003 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005035, allocations: 0 / 1.003 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.789e-05/0.005133, allocations: 65.61 kB / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.005145, allocations: 7.938 kB / 1.003 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005149, allocations: 0 / 1.003 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005159, allocations: 0 / 1.003 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.005221, allocations: 16.02 kB / 1.003 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.005227, allocations: 3.984 kB / 1.003 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.005249, allocations: 7.984 kB / 1.003 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.005254, allocations: 0 / 1.003 GB, free: 8.805 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.227e-05/0.005306, allocations: 114.5 kB / 1.003 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.005318, allocations: 7.875 kB / 1.003 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.005446, allocations: 64.97 kB / 1.003 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00545, allocations: 8.031 kB / 1.003 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005453, allocations: 0 / 1.003 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.005458, allocations: 0 / 1.003 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.005573, allocations: 128.7 kB / 1.003 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005574, allocations: 0 / 1.003 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.005602, allocations: 11.98 kB / 1.003 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.005605, allocations: 7.875 kB / 1.003 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.005612, allocations: 0 / 1.003 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.005614, allocations: 0 / 1.003 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.005615, allocations: 0 / 1.003 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.005758, allocations: 163.5 kB / 1.003 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.005768, allocations: 7.938 kB / 1.003 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.005779, allocations: 0 / 1.003 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.005815, allocations: 7.984 kB / 1.003 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.005853, allocations: 0 / 1.003 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.005856, allocations: 0 / 1.003 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.005886, allocations: 87.27 kB / 1.004 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005886, allocations: 0 / 1.004 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001349/0.006021, allocations: 4 kB / 1.004 GB, free: 8.125 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.000315/0.006336, allocations: 0.7007 MB / 1.004 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.006461, allocations: 35.95 kB / 1.004 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.006462, allocations: 0 / 1.004 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.0065, allocations: 15.98 kB / 1.004 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.006751, allocations: 13.97 kB / 1.004 GB, free: 7.336 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.007086, allocations: 143.2 kB / 1.004 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.007126, allocations: 59.34 kB / 1.004 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.007146, allocations: 3.906 kB / 1.004 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.007188, allocations: 12.5 kB / 1.005 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.007189, allocations: 0 / 1.005 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.02063, allocations: 1.977 MB / 1.006 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/6.568, allocations: 8.484 kB / 1.006 GB, free: 5.211 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.609443728812039]