Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.005078/0.005078, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001158/0.001158, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.64/2.64, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2632, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001787/0.2651, allocations: 0.7118 MB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.266, allocations: 0.8083 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.266, allocations: 0 / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.2661, allocations: 11.94 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.2661, allocations: 3.938 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.108e-05/0.2662, allocations: 15.97 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.2663, allocations: 47.84 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.2664, allocations: 11.94 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.2665, allocations: 11.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.2665, allocations: 27.91 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2666, allocations: 4 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.2666, allocations: 8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.2666, allocations: 7.938 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2666, allocations: 15.92 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.916e-05/0.2667, allocations: 48.02 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2667, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2668, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2668, allocations: 0 / 1.168 GB, free: 5.562 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004835/0.2672, allocations: 363.3 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2673, allocations: 12.03 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.2673, allocations: 30.75 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2674, allocations: 8.891 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2675, allocations: 168.4 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2675, allocations: 384 / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2675, allocations: 4.312 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.2677, allocations: 70.22 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2678, allocations: 3.938 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2678, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2678, allocations: 7.984 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.2681, allocations: 63.92 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.2684, allocations: 272.8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.2686, allocations: 66.47 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2688, allocations: 32.92 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2688, allocations: 4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2689, allocations: 30.56 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2689, allocations: 0 / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005296/0.2694, allocations: 129.6 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2694, allocations: 55.34 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.2695, allocations: 113.8 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2695, allocations: 29.64 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.2696, allocations: 80.14 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.2696, allocations: 23.89 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.2696, allocations: 9.719 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2698, allocations: 318.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2699, allocations: 31.95 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.27, allocations: 27.97 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.2703, allocations: 76.72 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2703, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000318/0.2707, allocations: 101.5 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2707, allocations: 4 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2707, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2707, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2708, allocations: 15.97 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2708, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.2709, allocations: 11.98 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.2709, allocations: 0 / 1.17 GB, free: 3.195 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 (3): * Single equations (assignments): 3 * 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.702e-05/0.271, allocations: 117.8 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.271, allocations: 3.953 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.2714, allocations: 105.5 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2714, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2714, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2714, allocations: 7.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2716, allocations: 173.6 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2716, allocations: 8 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.774e-05/0.2717, allocations: 15.98 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2717, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2717, allocations: 0 / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2717, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2717, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.2721, allocations: 207.7 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2721, allocations: 81.05 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.2721, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2723, allocations: 11.98 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.2723, allocations: 11.98 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2723, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.2724, allocations: 83.28 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.443e-06/0.2724, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002156/0.2726, allocations: 7.938 kB / 1.171 GB, free: 2.262 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 (3): * Single equations (assignments): 3 * 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.0006439/0.2732, allocations: 0.7319 MB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2736, allocations: 75.86 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2736, allocations: 0 / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2738, allocations: 39.89 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2741, allocations: 8 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.2745, allocations: 151 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2747, allocations: 0.6807 MB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.2747, allocations: 0 / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.2748, allocations: 19.44 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2748, allocations: 0 / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.2912, allocations: 1.617 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.92, allocations: 9.203 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_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_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches