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.0009796/0.0009796, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.523, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001679/0.5247, allocations: 0.6616 MB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006083/0.5253, allocations: 0.8077 MB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.5254, allocations: 1.344 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.5254, allocations: 7.922 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.5255, allocations: 0 / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.5256, allocations: 6.719 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.5256, allocations: 25.8 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.5257, allocations: 2.938 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.5258, allocations: 14.58 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.5258, allocations: 15.64 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.5258, allocations: 1.312 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.5259, allocations: 2.344 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.5259, allocations: 3.984 kB / 0.9513 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.5259, allocations: 10.19 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.695e-05/0.526, allocations: 20.69 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.526, allocations: 0 / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.526, allocations: 0 / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.526, allocations: 4.719 kB / 0.9513 GB, free: 7.949 MB / 0.7169 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.0003104/0.5263, allocations: 343.4 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5263, allocations: 8.406 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.5264, allocations: 32.09 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.5264, allocations: 2.312 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.485e-05/0.5265, allocations: 169.4 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5265, allocations: 9.375 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.5265, allocations: 1.438 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.5266, allocations: 49.02 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5267, allocations: 5.281 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5267, allocations: 7.984 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5267, allocations: 0 / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.5268, allocations: 34.94 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.527, allocations: 245.3 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5272, allocations: 43.41 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.5272, allocations: 17.72 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.5273, allocations: 1.125 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.5273, allocations: 35.77 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5273, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003031/0.5276, allocations: 83.94 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.5276, allocations: 53.16 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.363e-05/0.5277, allocations: 103.2 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.5277, allocations: 29.64 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.5277, allocations: 80.14 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.5277, allocations: 13.47 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.5278, allocations: 16.77 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.5278, allocations: 310.9 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.5279, allocations: 21.14 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.528, allocations: 17.7 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.5281, allocations: 42.94 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5281, allocations: 5.531 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.5283, allocations: 67.98 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5283, allocations: 5.062 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5283, allocations: 0 / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5283, allocations: 5.266 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.5284, allocations: 5 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5284, allocations: 1.156 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.5285, allocations: 11.33 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-06/0.5285, allocations: 1.25 kB / 0.9531 GB, free: 6.082 MB / 0.7169 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 3.994e-05/0.5285, allocations: 115.3 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.5285, allocations: 5.219 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.5287, allocations: 74.09 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5288, allocations: 0 / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5288, allocations: 4.953 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5288, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.5289, allocations: 162.2 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5289, allocations: 4.031 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.5289, allocations: 10.52 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.5289, allocations: 3.938 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.5289, allocations: 1.25 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.529, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.529, allocations: 1.062 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.5291, allocations: 171 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.5292, allocations: 77.11 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.5292, allocations: 1.438 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.5293, allocations: 7.578 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.5293, allocations: 1.344 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5293, allocations: 1.219 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.798e-05/0.5293, allocations: 85.97 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5293, allocations: 0 / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002024/0.5295, allocations: 3.594 kB / 0.9538 GB, free: 5.34 MB / 0.7169 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.0003445/0.5299, allocations: 0.6993 MB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.5301, allocations: 41.47 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5301, allocations: 1.062 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.5302, allocations: 18.78 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5304, allocations: 7.125 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.5307, allocations: 135.5 kB / 0.9547 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.496e-05/0.5308, allocations: 0.6858 MB / 0.9553 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.5308, allocations: 0 / 0.9553 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.5309, allocations: 9.062 kB / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5309, allocations: 0 / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3538/0.8847, allocations: 1.246 MB / 0.9566 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/8.266, allocations: 10.42 kB / 0.9566 GB, free: 3.031 MB / 0.7169 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