Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_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.0007659/0.000766, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005241/0.005241, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 9.75 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2576, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.0007722/0.2584, allocations: 408.5 kB / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.2593, allocations: 0.8118 MB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.2593, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.2594, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.2594, allocations: 7.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.2596, allocations: 15.97 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.2596, allocations: 15.94 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2597, allocations: 11.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.2598, allocations: 7.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.2598, allocations: 15.92 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2598, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.2598, allocations: 0 / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.2599, allocations: 3.938 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.2599, allocations: 33.64 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.263e-05/0.26, allocations: 27.94 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.26, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.26, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.26, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 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.0003895/0.2604, allocations: 339.8 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2604, allocations: 11.97 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.2605, allocations: 34.75 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.2605, allocations: 4.938 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.2606, allocations: 168.2 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2606, allocations: 384 / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.2607, allocations: 4.375 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.2608, allocations: 54.23 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2609, allocations: 3.938 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2609, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2609, allocations: 7.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2611, allocations: 43.95 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000289/0.2614, allocations: 241 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2615, allocations: 58.42 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.2616, allocations: 24.91 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.2616, allocations: 0 / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2616, allocations: 38.56 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2616, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003567/0.262, allocations: 97.73 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2621, allocations: 55.34 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.2621, allocations: 101.9 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2621, allocations: 25.7 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.2622, allocations: 84.12 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2622, allocations: 3.906 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.2622, allocations: 9.719 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.2623, allocations: 318.8 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.2624, allocations: 20.02 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.2625, allocations: 27.97 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2627, allocations: 48.89 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2627, allocations: 3.938 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.2629, allocations: 77.59 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2629, allocations: 8.031 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2629, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2629, allocations: 3.938 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.263, allocations: 15.98 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.263, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.2631, allocations: 7.906 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2631, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 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 6.642e-05/0.2632, allocations: 121.8 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.2632, allocations: 3.984 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.2634, allocations: 76.78 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2635, allocations: 192 / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2635, allocations: 4.031 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2635, allocations: 3.984 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2636, allocations: 161.5 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2636, allocations: 4 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.2637, allocations: 15.92 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2637, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.2637, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2637, allocations: 0 / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2637, allocations: 4 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.264, allocations: 175.5 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.264, allocations: 85.05 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.264, allocations: 3.984 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.2641, allocations: 8.031 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.2641, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2641, allocations: 3.984 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.2642, allocations: 83.28 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2642, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002082/0.2644, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 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.0005105/0.2649, allocations: 0.7123 MB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.2651, allocations: 47.98 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2651, allocations: 0 / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.2652, allocations: 31.92 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2655, allocations: 6.375 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.2659, allocations: 140.6 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.2661, allocations: 0.6731 MB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.2661, allocations: 3.984 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.2662, allocations: 15.44 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2662, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009323/0.2755, allocations: 1.021 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.2757, allocations: 198.5 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.829, allocations: 7.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches