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.008024/0.008024, allocations: 99.45 kB / 15.73 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.001391/0.001392, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.208/2.208, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.71/3.71, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 67.89 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436/1.438, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.003262/1.441, allocations: 0.6742 MB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001517/1.443, allocations: 0.8055 MB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/1.443, allocations: 0 / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/1.443, allocations: 3.938 kB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/1.443, allocations: 5.812 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/1.443, allocations: 13.34 kB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/1.443, allocations: 23.56 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/1.444, allocations: 4.469 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/1.444, allocations: 8.609 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/1.444, allocations: 17.92 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/1.444, allocations: 2.375 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/1.444, allocations: 1.281 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/1.444, allocations: 2.688 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/1.444, allocations: 10.58 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/1.444, allocations: 25.66 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.444, allocations: 0 / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.444, allocations: 3.938 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.082e-06/1.444, allocations: 1.312 kB / 1.089 GB, free: 4.176 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.0005289/1.445, allocations: 335.5 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.445, allocations: 9.906 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/1.445, allocations: 31.31 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/1.445, allocations: 2.734 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.445, allocations: 168.2 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.445, allocations: 4.375 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/1.445, allocations: 5.562 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/1.445, allocations: 49.72 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.445, allocations: 3.938 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.445, allocations: 5.125 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.445, allocations: 0 / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/1.445, allocations: 33.06 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/1.446, allocations: 250 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/1.446, allocations: 47.88 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/1.446, allocations: 20.33 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.446, allocations: 4.594 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/1.446, allocations: 35.56 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/1.446, allocations: 0.9375 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005296/1.447, allocations: 84.11 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.447, allocations: 52.5 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/1.447, allocations: 100.7 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/1.447, allocations: 30.2 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.447, allocations: 86.2 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/1.447, allocations: 5.172 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/1.447, allocations: 16.98 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/1.447, allocations: 313.1 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.447, allocations: 21.86 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/1.447, allocations: 13.77 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.448, allocations: 41.97 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.448, allocations: 3.938 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002926/1.448, allocations: 63.77 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.448, allocations: 5.734 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.448, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.448, allocations: 0.5625 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.448, allocations: 16.41 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.448, allocations: 1.375 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/1.448, allocations: 10.47 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/1.448, allocations: 0 / 1.091 GB, free: 2.418 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 8.081e-05/1.448, allocations: 112.5 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/1.449, allocations: 1.844 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.449, allocations: 79.22 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.449, allocations: 1.344 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.449, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.449, allocations: 4.547 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/1.449, allocations: 163.7 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/1.449, allocations: 0.7969 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/1.449, allocations: 8.922 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.449, allocations: 0 / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/1.449, allocations: 5.391 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.449, allocations: 0 / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.449, allocations: 1.734 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/1.45, allocations: 165.6 kB / 1.091 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/1.45, allocations: 78.56 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/1.45, allocations: 1.547 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.45, allocations: 6.422 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/1.45, allocations: 2.312 kB / 1.091 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.45, allocations: 9.156 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.761e-05/1.45, allocations: 79.84 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/1.45, allocations: 0 / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004027/1.45, allocations: 7.312 kB / 1.092 GB, free: 1.719 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.0007336/1.451, allocations: 0.7017 MB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003247/1.451, allocations: 35.12 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.451, allocations: 3.938 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.452, allocations: 17.23 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/1.452, allocations: 6.25 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/1.453, allocations: 140.7 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/1.453, allocations: 0.676 MB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.63e-05/1.453, allocations: 1.031 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/1.453, allocations: 9.531 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.453, allocations: 0 / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/1.668, allocations: 1.274 MB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.68, allocations: 5.031 kB / 1.094 GB, free: 15.8 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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