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.005858/0.005858, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001339/0.001339, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 69.52 kB / 0.9505 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002673/0.2563, allocations: 0.6669 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2576, allocations: 0.8082 MB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.2577, allocations: 4 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.2578, allocations: 3.938 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.2579, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.2581, allocations: 15.92 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.2582, allocations: 19.98 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2583, allocations: 8 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.2584, allocations: 11.86 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.2584, allocations: 8 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2585, allocations: 4 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.2585, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2585, allocations: 19.91 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.453e-05/0.2586, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.2587, allocations: 19.91 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2587, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2587, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2587, allocations: 0 / 1.089 GB, free: 348 kB / 0.8419 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.0005201/0.2592, allocations: 334.4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2593, allocations: 12.03 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.2593, allocations: 34.75 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2594, allocations: 8.844 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2595, allocations: 168.4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2595, allocations: 4.359 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2596, allocations: 384 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2598, allocations: 54.17 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2598, allocations: 7.875 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2598, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2598, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.26, allocations: 35.97 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.2604, allocations: 248.9 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2605, allocations: 38.5 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.2606, allocations: 28.84 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2606, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2607, allocations: 30.56 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2607, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.261, allocations: 77.64 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2611, allocations: 55.41 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.2611, allocations: 102 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2612, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2612, allocations: 92.05 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.2612, allocations: 0.5625 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.2613, allocations: 9.719 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.2614, allocations: 322.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.2614, allocations: 15.92 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.2615, allocations: 19.98 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2617, allocations: 40.81 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2617, allocations: 3.938 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.2619, allocations: 65.58 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2619, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2619, allocations: 96 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2619, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.262, allocations: 11.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.262, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.2621, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2621, allocations: 3.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 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.558e-05/0.2622, allocations: 110.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.2622, allocations: 8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.2624, allocations: 68.78 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2625, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2625, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2625, allocations: 7.984 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2626, allocations: 169.5 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2626, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.2627, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2627, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2627, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2627, allocations: 8.031 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2627, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.263, allocations: 167.4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.263, allocations: 81.02 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.263, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.2631, allocations: 16.14 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2632, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2632, allocations: 3.984 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.2632, allocations: 83.28 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2632, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002149/0.2634, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 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.000545/0.264, allocations: 0.7045 MB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2642, allocations: 31.97 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2642, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.2643, allocations: 20.08 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2646, allocations: 12.05 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.2651, allocations: 135.2 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2653, allocations: 0.6768 MB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.2653, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.2654, allocations: 15.44 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2654, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.2821, allocations: 1.277 MB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.498, allocations: 7.938 kB / 1.094 GB, free: 10.57 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_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.csv","/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