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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008315/0.008316, allocations: 103.3 kB / 15.74 MB, free: 6.059 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.001511/0.001511, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.911/1.911, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.023/3.023, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.91 kB / 0.9505 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 140.4 MB / 1.088 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001915/1.075, allocations: 0.6621 MB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009029/1.076, allocations: 0.8063 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/1.076, allocations: 0 / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/1.076, allocations: 3.938 kB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/1.076, allocations: 5.906 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/1.076, allocations: 12.03 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/1.076, allocations: 24.44 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/1.077, allocations: 6.312 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/1.077, allocations: 12.28 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/1.077, allocations: 13.5 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/1.077, allocations: 5.906 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/1.077, allocations: 2.812 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/1.077, allocations: 1.266 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/1.077, allocations: 12.52 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/1.077, allocations: 23.59 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.077, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.256e-06/1.077, allocations: 0.9688 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.077, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 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.0004017/1.077, allocations: 335.2 kB / 1.089 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.077, allocations: 13.09 kB / 1.089 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/1.077, allocations: 36.62 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/1.077, allocations: 6.5 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/1.078, allocations: 163 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/1.078, allocations: 384 / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.078, allocations: 2.203 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/1.078, allocations: 57.02 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.078, allocations: 3.938 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/1.078, allocations: 1.531 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/1.078, allocations: 5.062 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/1.078, allocations: 31.72 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/1.078, allocations: 246.6 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/1.078, allocations: 44.34 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/1.079, allocations: 27.73 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.079, allocations: 0.7031 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.079, allocations: 32.33 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.079, allocations: 0 / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003715/1.079, allocations: 80.59 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.079, allocations: 56.23 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/1.079, allocations: 105.2 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/1.079, allocations: 25.7 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/1.079, allocations: 85.97 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/1.079, allocations: 5.453 kB / 1.09 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/1.079, allocations: 16.53 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/1.079, allocations: 313.2 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/1.079, allocations: 26.02 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/1.079, allocations: 14.33 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.08, allocations: 37.59 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.08, allocations: 3.938 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/1.08, allocations: 70.7 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.08, allocations: 9.656 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.08, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.08, allocations: 2.047 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/1.08, allocations: 9.281 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.08, allocations: 0 / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/1.08, allocations: 14.16 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/1.08, allocations: 0.7969 kB / 1.091 GB, free: 2.402 MB / 0.8575 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.055e-05/1.08, allocations: 111.2 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.08, allocations: 5.812 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/1.08, allocations: 71.09 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.08, allocations: 1.703 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.08, allocations: 0 / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.08, allocations: 1.891 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.081, allocations: 162.5 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.081, allocations: 0.5156 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/1.081, allocations: 9.344 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.081, allocations: 4.031 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/1.081, allocations: 1.094 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.081, allocations: 0.7031 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.081, allocations: 1.094 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/1.081, allocations: 165.9 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/1.081, allocations: 82.83 kB / 1.091 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/1.081, allocations: 5.391 kB / 1.091 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/1.081, allocations: 9.953 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/1.081, allocations: 2.516 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.081, allocations: 1.875 kB / 1.091 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.917e-05/1.081, allocations: 79.97 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.081, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002252/1.081, allocations: 7.344 kB / 1.092 GB, free: 1.707 MB / 0.8575 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.000677/1.082, allocations: 0.7006 MB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002677/1.082, allocations: 35.22 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.082, allocations: 4.094 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/1.082, allocations: 16 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/1.083, allocations: 7.969 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/1.083, allocations: 137.5 kB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.084, allocations: 0.6791 MB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.795e-05/1.084, allocations: 1.719 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/1.084, allocations: 13.03 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.084, allocations: 0 / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9576/2.041, allocations: 1.28 MB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19.85, allocations: 3.062 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > 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/jenkins1/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