Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.008355/0.008355, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.002101/0.002101, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.713/2.713, allocations: 469.4 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2648, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002053/0.2669, allocations: 0.7062 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.2679, allocations: 0.8057 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.268, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.268, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.2681, allocations: 7.875 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.2682, allocations: 15.98 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.2683, allocations: 47.84 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2684, allocations: 8 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.2685, allocations: 19.97 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.2686, allocations: 23.86 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2686, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.2686, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.2686, allocations: 7.984 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2687, allocations: 11.94 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.2688, allocations: 39.81 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2688, allocations: 7.984 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2688, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2688, allocations: 3.938 kB / 1.221 GB, free: 12.88 MB / 0.9825 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.0005505/0.2694, allocations: 367.3 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2694, allocations: 11.97 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.2695, allocations: 34.75 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2695, allocations: 4.891 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2696, allocations: 172.4 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2697, allocations: 4.375 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2697, allocations: 12.36 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2699, allocations: 62.22 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.27, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.27, allocations: 4 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.27, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2703, allocations: 71.86 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.2706, allocations: 268.9 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.2708, allocations: 50.55 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.271, allocations: 44.91 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.271, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.271, allocations: 30.56 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2711, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005308/0.2716, allocations: 133.5 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2716, allocations: 55.41 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.2717, allocations: 109.8 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2717, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.2718, allocations: 88.14 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2718, allocations: 11.84 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2718, allocations: 17.7 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.2719, allocations: 314.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2721, allocations: 35.91 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2722, allocations: 35.95 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2725, allocations: 72.66 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2725, allocations: 4 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003239/0.2729, allocations: 93.62 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2729, allocations: 8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2729, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2729, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.2731, allocations: 15.98 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2731, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.2732, allocations: 19.92 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.2732, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 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 7.185e-05/0.2733, allocations: 114.3 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.2733, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.2737, allocations: 109.5 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2737, allocations: 4.375 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2737, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2737, allocations: 3.938 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.2738, allocations: 165.6 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2739, allocations: 3.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.274, allocations: 19.97 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.274, allocations: 4 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.274, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.274, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.274, allocations: 4 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.2743, allocations: 199.3 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.2744, allocations: 77.11 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2744, allocations: 4 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2745, allocations: 15.98 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.2746, allocations: 4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.2746, allocations: 3.984 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.2746, allocations: 87.28 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2746, allocations: 0 / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002227/0.2749, allocations: 4 kB / 1.224 GB, free: 9.574 MB / 0.9825 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.0006177/0.2755, allocations: 0.7357 MB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.2758, allocations: 67.92 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2758, allocations: 7.938 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.276, allocations: 35.95 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2763, allocations: 9.562 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2767, allocations: 162.9 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.277, allocations: 0.6807 MB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.2771, allocations: 7.938 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.2771, allocations: 15.44 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2771, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.2938, allocations: 1.639 MB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.711, allocations: 0 / 1.228 GB, free: 6.215 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches