Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001801/0.001801, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 190.9 kB / 16.66 MB, free: 6.59 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.382/1.382, 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.56/2.56, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3101, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001979/0.3121, allocations: 0.6478 MB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.3123, allocations: 8 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.3124, allocations: 0 / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3125, allocations: 11.94 kB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.3126, allocations: 0 / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.3127, allocations: 11.98 kB / 1.167 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3129, allocations: 39.86 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.313, allocations: 35.97 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.3131, allocations: 15.92 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.3131, allocations: 11.94 kB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3131, allocations: 7.938 kB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.3132, allocations: 4 kB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.3132, allocations: 8 kB / 1.167 GB, free: 6.453 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3133, allocations: 19.86 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3134, allocations: 56.02 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3134, allocations: 0 / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3134, allocations: 0 / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3134, allocations: 4 kB / 1.167 GB, free: 6.375 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000437/0.3139, allocations: 351.2 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3139, allocations: 12.03 kB / 1.167 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.314, allocations: 38.73 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.314, allocations: 12.83 kB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3142, allocations: 172.4 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3142, allocations: 4.375 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3142, allocations: 8.375 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3144, allocations: 70.23 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3144, allocations: 11.92 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3145, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3145, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.3146, allocations: 47.91 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.3151, allocations: 491.2 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.3152, allocations: 173.5 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.3153, allocations: 80.14 kB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3153, allocations: 75.28 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.3154, allocations: 110 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.3154, allocations: 3.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.088e-05/0.3155, allocations: 45.64 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3155, allocations: 134.6 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3157, allocations: 169.8 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3157, allocations: 25.7 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.3158, allocations: 96.12 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.3158, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3158, allocations: 13.72 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3159, allocations: 314.8 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.316, allocations: 11.98 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.316, allocations: 4 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.316, allocations: 20.84 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.316, allocations: 0 / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001235/0.3162, allocations: 53.58 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3162, allocations: 10.19 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3162, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3162, allocations: 3.984 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.3163, allocations: 19.97 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3163, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.3163, allocations: 4 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3163, allocations: 0 / 1.17 GB, free: 3.598 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 (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.585e-05/0.3164, allocations: 193.1 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.3165, allocations: 108.9 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.3166, allocations: 112.8 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.3166, allocations: 192.2 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.638e-05/0.3167, allocations: 180.3 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/0.3168, allocations: 180.2 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.317, allocations: 417.2 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/0.317, allocations: 104.9 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.3171, allocations: 109 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.3172, allocations: 180.3 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.3173, allocations: 180.2 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.377e-05/0.3173, allocations: 180.2 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.508e-05/0.3174, allocations: 184.2 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3176, allocations: 319.7 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3177, allocations: 186 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.3178, allocations: 184.2 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.3179, allocations: 117.1 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.318, allocations: 176.3 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.318, allocations: 109 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3181, allocations: 131.2 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002479/0.3184, allocations: 8 kB / 1.173 GB, free: 15.89 MB / 0.9356 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.0005111/0.3189, allocations: 0.8165 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.319, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.319, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.319, allocations: 3.938 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3195, allocations: 467.6 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3209, allocations: 1.592 MB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3212, allocations: 0.6964 MB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.3213, allocations: 11.92 kB / 1.176 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3213, allocations: 19.38 kB / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3213, allocations: 0 / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.3399, allocations: 1.631 MB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.849, allocations: 18.5 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches