Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.005473/0.005473, allocations: 99.03 kB / 15.73 MB, free: 6.043 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.001165/0.001165, allocations: 195.3 kB / 16.68 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 64.72 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2719, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001903/0.2739, allocations: 0.6981 MB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.2748, allocations: 0.8121 MB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.2749, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.275, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.275, allocations: 11.88 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.2752, allocations: 15.98 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.2753, allocations: 43.84 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2754, allocations: 11.94 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.2755, allocations: 15.98 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.2755, allocations: 27.84 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2756, allocations: 4 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.2756, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.2756, allocations: 7.984 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.2757, allocations: 19.88 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2758, allocations: 39.86 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2758, allocations: 3.938 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2758, allocations: 0 / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2758, allocations: 0 / 1.089 GB, free: 232 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005683/0.2764, allocations: 358.8 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2764, allocations: 12.03 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2765, allocations: 30.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.2765, allocations: 12.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2766, allocations: 168.6 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.2767, allocations: 384 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2767, allocations: 4.375 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.277, allocations: 66.22 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.277, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.277, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.277, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.2773, allocations: 67.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.2777, allocations: 276.8 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2779, allocations: 50.64 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.2781, allocations: 44.81 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2781, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2781, allocations: 34.5 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2781, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005691/0.2787, allocations: 129.8 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2788, allocations: 51.41 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.2789, allocations: 109.8 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2789, allocations: 25.7 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.2789, allocations: 84.14 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.279, allocations: 15.75 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.279, allocations: 21.7 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2791, allocations: 314.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2793, allocations: 31.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2794, allocations: 35.94 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.2797, allocations: 80.66 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2797, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.28, allocations: 93.62 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2801, allocations: 9.5 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2801, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2801, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2802, allocations: 19.98 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2802, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.2803, allocations: 15.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2803, allocations: 4 kB / 1.091 GB, free: 13.86 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 (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 8.174e-05/0.2804, allocations: 121.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2805, allocations: 3.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.2808, allocations: 113.5 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2808, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2809, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2809, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.281, allocations: 169.6 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.281, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2812, allocations: 15.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2812, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2812, allocations: 8 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2812, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2812, allocations: 320 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2816, allocations: 195.3 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.2816, allocations: 85.02 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2816, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2818, allocations: 15.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2818, allocations: 3.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2818, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.2819, allocations: 91.27 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.054e-06/0.2819, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002193/0.2821, allocations: 11.94 kB / 1.092 GB, free: 12.93 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 (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.000742/0.2828, allocations: 0.7319 MB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.2832, allocations: 68.2 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2832, allocations: 4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.2834, allocations: 35.95 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2838, allocations: 8 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.2844, allocations: 162.4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2846, allocations: 0.6884 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.2846, allocations: 7.922 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.2847, allocations: 19.44 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.2847, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.3017, allocations: 1.627 MB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.712, allocations: 1.875 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches