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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00107/0.00107, allocations: 108 kB / 15.61 MB, free: 152 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.001141/0.001141, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.291/1.291, 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 11.0.1-master/package.mo): time 2.628/2.628, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.17 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2595, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001855/0.2614, allocations: 0.6664 MB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.2622, allocations: 0.8156 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.2622, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.2623, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.2623, allocations: 3.938 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.2624, allocations: 15.98 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.2625, allocations: 19.94 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.2626, allocations: 7.984 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.2626, allocations: 11.94 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.445e-05/0.2627, allocations: 7.984 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2627, allocations: 4 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.2627, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.2627, allocations: 11.92 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.2628, allocations: 7.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.2628, allocations: 23.95 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2628, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2629, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2629, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 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.0003887/0.2633, allocations: 339.8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2633, allocations: 11.97 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.2633, allocations: 30.75 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.2634, allocations: 8.844 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.2635, allocations: 164.3 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2635, allocations: 4.375 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.2635, allocations: 384 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2636, allocations: 50.23 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2637, allocations: 3.938 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2637, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2637, allocations: 7.938 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2638, allocations: 31.95 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.2641, allocations: 249 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2643, allocations: 42.42 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.2644, allocations: 24.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2644, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2644, allocations: 34.56 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2644, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.2648, allocations: 89.48 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.2648, allocations: 51.41 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.2649, allocations: 97.86 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2649, allocations: 33.69 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.2649, allocations: 84.27 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.265, allocations: 3.906 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.265, allocations: 17.72 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2651, allocations: 310.8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.2652, allocations: 15.98 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.2653, allocations: 19.97 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2655, allocations: 36.89 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2655, allocations: 3.938 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.2657, allocations: 69.59 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2657, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2657, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2657, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.2658, allocations: 12.02 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2658, allocations: 4 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.2659, allocations: 8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.2659, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 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.647e-05/0.2659, allocations: 119.5 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.266, allocations: 192 / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.2662, allocations: 76.77 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.2662, allocations: 7.938 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2662, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2662, allocations: 3.938 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2664, allocations: 157.6 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2664, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.2664, allocations: 11.92 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2665, allocations: 4 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2665, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2665, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2665, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2667, allocations: 163.5 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2667, allocations: 92.94 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.2668, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.2668, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.2669, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2669, allocations: 8.031 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.2669, allocations: 79.28 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2669, allocations: 3.938 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002059/0.2671, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 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.0005151/0.2677, allocations: 0.6986 MB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2679, allocations: 39.95 kB / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2679, allocations: 0 / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.268, allocations: 19.92 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2682, allocations: 4 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.2686, allocations: 147.9 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2688, allocations: 0.6768 MB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.805e-05/0.2688, allocations: 0 / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.2689, allocations: 11.44 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2689, allocations: 0 / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.2857, allocations: 1.253 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.26, allocations: 6.234 kB / 1.071 GB, free: 7.148 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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