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.0012/0.0012, 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.001387/0.001387, 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.426 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 2.453/2.453, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5593, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002035/0.5614, allocations: 0.6709 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.5623, allocations: 0.804 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.5624, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.5624, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.5625, allocations: 3.938 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.5627, allocations: 11.97 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.5627, allocations: 27.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.5628, allocations: 8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.5629, allocations: 7.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.5629, allocations: 15.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.563, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.563, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.563, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.563, allocations: 11.98 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.939e-05/0.5631, allocations: 23.89 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.5631, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5631, allocations: 3.938 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.5631, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.7637 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.0003966/0.5635, allocations: 341.7 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5636, allocations: 8.031 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.5636, allocations: 30.75 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.5636, allocations: 0.9375 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.5638, allocations: 168.3 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.5638, allocations: 384 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5638, allocations: 384 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.564, allocations: 50.23 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.564, allocations: 3.938 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.564, allocations: 4 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.564, allocations: 0 / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.5642, allocations: 39.89 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.5646, allocations: 245 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.5647, allocations: 42.53 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.5648, allocations: 28.84 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.5649, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.5649, allocations: 30.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5649, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003809/0.5653, allocations: 89.67 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5653, allocations: 55.34 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.5654, allocations: 101.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.5655, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.5655, allocations: 88.08 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.5655, allocations: 3.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.5656, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5657, allocations: 314.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.5658, allocations: 24 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.5659, allocations: 15.98 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.5661, allocations: 40.77 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5661, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.5663, allocations: 69.72 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5663, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5663, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5663, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.5664, allocations: 12.17 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5665, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.5665, allocations: 11.98 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.5665, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 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.535e-05/0.5666, allocations: 113.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5666, allocations: 15.89 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.5669, allocations: 72.72 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5669, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5669, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5669, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5671, allocations: 161.6 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5671, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.5672, allocations: 8.031 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5672, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5672, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5672, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5672, allocations: 3.938 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.5675, allocations: 171.4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.5675, allocations: 77.11 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.5675, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.5676, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5677, allocations: 3.984 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.5677, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.5677, allocations: 79.28 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5677, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002339/0.568, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 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.0005426/0.5685, allocations: 0.7045 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.5687, allocations: 47.92 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5687, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.5688, allocations: 15.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5691, allocations: 10.25 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.5696, allocations: 139.8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.5698, allocations: 0.673 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.5699, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.5699, allocations: 11.42 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.5699, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.5859, allocations: 1.243 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.827, allocations: 11.3 kB / 1.024 GB, free: 11.1 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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