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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 112.5 kB / 15.73 MB, free: 76 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.001757/0.001757, allocations: 191.1 kB / 16.67 MB, free: 6.582 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.671/2.671, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5/5, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003062/0.003062, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5586, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00319/0.5619, allocations: 0.6672 MB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.5638, allocations: 0.816 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.5639, allocations: 3.938 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.5639, allocations: 0 / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.564, allocations: 3.938 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.5643, allocations: 7.984 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.5644, allocations: 23.92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.5646, allocations: 8 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.713e-05/0.5647, allocations: 11.98 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.5648, allocations: 11.92 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.5649, allocations: 4 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.5649, allocations: 0 / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.5649, allocations: 7.984 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.565, allocations: 7.938 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.5651, allocations: 19.91 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.5652, allocations: 4 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5652, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5652, allocations: 0 / 1.168 GB, free: 5.754 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.0009498/0.5661, allocations: 343.7 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.5662, allocations: 11.97 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.5663, allocations: 34.75 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.5664, allocations: 4.938 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5666, allocations: 172.3 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5666, allocations: 384 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.5667, allocations: 384 / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.567, allocations: 50.23 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.567, allocations: 7.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.567, allocations: 0 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5671, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.5674, allocations: 27.97 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.568, allocations: 248.9 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5682, allocations: 42.5 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.5684, allocations: 24.91 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.5685, allocations: 3.938 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.5685, allocations: 30.56 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.5686, allocations: 0 / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0006456/0.5692, allocations: 89.67 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.5693, allocations: 51.41 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.5694, allocations: 97.84 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.5695, allocations: 29.7 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.5696, allocations: 88.12 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.5696, allocations: 3.953 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.5697, allocations: 13.72 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.5699, allocations: 318.8 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.5701, allocations: 16.02 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5702, allocations: 23.92 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.5705, allocations: 36.81 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.5705, allocations: 3.938 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003302/0.5709, allocations: 73.62 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5709, allocations: 4 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5709, allocations: 0 / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5709, allocations: 0 / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.5711, allocations: 15.98 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5711, allocations: 0 / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.5712, allocations: 7.984 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.5712, allocations: 0 / 1.17 GB, free: 3.676 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 0.0001478/0.5714, allocations: 121.8 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.5714, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.5718, allocations: 68.72 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5718, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.5719, allocations: 0 / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5719, allocations: 3.984 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.5722, allocations: 157.6 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5723, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.5724, allocations: 12.02 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.5724, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5724, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5724, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5724, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.5729, allocations: 167.6 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.573, allocations: 88.98 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5731, allocations: 3.938 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5732, allocations: 7.984 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.5733, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5733, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.508e-05/0.5734, allocations: 87.22 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.51e-07/0.5734, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004309/0.5739, allocations: 0 / 1.17 GB, free: 2.859 MB / 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.001039/0.5749, allocations: 0.7007 MB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.5754, allocations: 39.94 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.5754, allocations: 4 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.5756, allocations: 23.91 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.5761, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.5769, allocations: 135.5 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.5774, allocations: 0.6768 MB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.5774, allocations: 4.125 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.5775, allocations: 15.44 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.5775, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.6185, allocations: 1.259 MB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.08, allocations: 9.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches