Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.00671/0.00671, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001347/0.001347, allocations: 188.6 kB / 16.67 MB, free: 6.355 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 70.22 kB / 0.9505 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 140.4 MB / 1.088 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.001752/0.2816, allocations: 0.6397 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.2818, allocations: 15.94 kB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.2818, allocations: 0 / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.2819, allocations: 3.984 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.282, allocations: 7.938 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.142e-05/0.2821, allocations: 4 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2822, allocations: 39.97 kB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2823, allocations: 35.97 kB / 1.088 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.2824, allocations: 11.94 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.2824, allocations: 15.92 kB / 1.088 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2824, allocations: 4 kB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.2825, allocations: 4 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.2825, allocations: 7.938 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.2825, allocations: 23.81 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.2826, allocations: 51.73 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2827, allocations: 4 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2827, allocations: 0 / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2827, allocations: 0 / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003353/0.283, allocations: 350.3 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2831, allocations: 8.031 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2831, allocations: 38.75 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.2831, allocations: 8.844 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.2833, allocations: 181 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.2833, allocations: 8.375 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2833, allocations: 12.31 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.2835, allocations: 78.16 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2835, allocations: 7.938 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2835, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2835, allocations: 4 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.2836, allocations: 43.97 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.2841, allocations: 483.1 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.2842, allocations: 173.1 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.2842, allocations: 80.52 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.2842, allocations: 75.28 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.2843, allocations: 113.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.041e-06/0.2843, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.488e-05/0.2844, allocations: 33.7 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2844, allocations: 134.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2846, allocations: 183 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2846, allocations: 25.7 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.2847, allocations: 96.08 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.2847, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2847, allocations: 9.719 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2848, allocations: 322.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.2848, allocations: 8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.2849, allocations: 11.98 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.2849, allocations: 16.78 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2849, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001206/0.285, allocations: 57.58 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2851, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2851, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2851, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.2852, allocations: 4.141 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2852, allocations: 7.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.2852, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2852, allocations: 4 kB / 1.091 GB, free: 14.28 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 (1): * Single equations (assignments): 1 * 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 9.581e-05/0.2853, allocations: 197 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.2854, allocations: 112.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.2854, allocations: 112.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.2855, allocations: 192.1 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-05/0.2856, allocations: 176.3 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-05/0.2856, allocations: 180.3 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.2859, allocations: 426.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.2859, allocations: 101 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.286, allocations: 104.9 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.084e-05/0.286, allocations: 180.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.2861, allocations: 180.3 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.2861, allocations: 188.1 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.754e-05/0.2862, allocations: 180.3 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.2863, allocations: 315.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.2864, allocations: 190.1 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.2865, allocations: 180.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.2866, allocations: 109.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.2867, allocations: 184.2 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.2867, allocations: 105 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.641e-05/0.2868, allocations: 136.8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2868, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000228/0.2871, allocations: 4 kB / 1.094 GB, free: 10.57 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 (0): * Single equations (assignments): 0 * 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.0003939/0.2875, allocations: 0.8125 MB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.2875, allocations: 15.98 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2875, allocations: 0 / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.2876, allocations: 0 / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.288, allocations: 463.6 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2894, allocations: 1.608 MB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2897, allocations: 0.6944 MB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.2897, allocations: 7.984 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.2897, allocations: 15.44 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of SimCode: time 3.8e-07/0.2897, allocations: 0 / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.3084, allocations: 1.629 MB / 1.099 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.989, allocations: 16.5 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_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_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches