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.007771/0.007778, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.00221/0.00221, allocations: 191.2 kB / 16.67 MB, free: 5.934 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.686/2.686, allocations: 437 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001937, allocations: 67.91 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7739, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002552/0.7765, allocations: 0.6576 MB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.7767, allocations: 15.91 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.7768, allocations: 4 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.7769, allocations: 3.938 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.777, allocations: 0 / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.7771, allocations: 0 / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.7773, allocations: 43.91 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.7775, allocations: 31.98 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.7775, allocations: 15.94 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.7776, allocations: 19.92 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.7776, allocations: 4 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.7776, allocations: 0 / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.7777, allocations: 11.94 kB / 1.167 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.7777, allocations: 19.86 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.7779, allocations: 50.48 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7779, allocations: 0 / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7779, allocations: 0 / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.7779, allocations: 3.938 kB / 1.167 GB, free: 2.859 MB / 0.8887 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.0005156/0.7785, allocations: 352.3 kB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7785, allocations: 12.92 kB / 1.167 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.7786, allocations: 38.75 kB / 1.167 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.7786, allocations: 4.891 kB / 1.167 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.7789, allocations: 180.2 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.7789, allocations: 8.375 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.7789, allocations: 4.375 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.7792, allocations: 78.16 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.7792, allocations: 3.938 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.7792, allocations: 4 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.7792, allocations: 4 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.764e-05/0.7793, allocations: 47.97 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.7799, allocations: 495.1 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.78, allocations: 165.1 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.78, allocations: 84.08 kB / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.7801, allocations: 83.28 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.7802, allocations: 109.8 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7802, allocations: 0 / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.67e-05/0.7802, allocations: 33.66 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.7803, allocations: 130.6 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.7805, allocations: 172.1 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.7805, allocations: 25.7 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.7806, allocations: 96.14 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.7806, allocations: 0 / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.7807, allocations: 13.72 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7808, allocations: 322.8 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.7809, allocations: 11.92 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.7809, allocations: 8 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.7809, allocations: 12.84 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7809, allocations: 4.062 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001198/0.7811, allocations: 53.64 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7811, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7811, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7811, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.7812, allocations: 7.938 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7812, allocations: 112 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.7812, allocations: 15.92 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.7812, allocations: 3.938 kB / 1.17 GB, free: 88 kB / 0.8887 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 0.0001532/0.7814, allocations: 197.2 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.7815, allocations: 119.4 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.7816, allocations: 108.9 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-05/0.7817, allocations: 192.1 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-05/0.7817, allocations: 176.3 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-05/0.7819, allocations: 188.2 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.7822, allocations: 425.2 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.734e-05/0.7822, allocations: 101 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.7823, allocations: 104.9 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/0.7824, allocations: 176.3 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7825, allocations: 188.2 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.394e-05/0.7826, allocations: 184.2 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001036/0.7827, allocations: 180.3 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.7829, allocations: 303.7 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.783, allocations: 198 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7832, allocations: 180.3 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.7833, allocations: 112.9 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.7834, allocations: 180.2 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.7834, allocations: 109 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001169/0.7836, allocations: 127.2 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7836, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002562/0.7838, allocations: 4 kB / 1.173 GB, free: 12.38 MB / 0.9044 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.0005623/0.7844, allocations: 0.813 MB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.7845, allocations: 11.98 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7845, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7845, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.785, allocations: 480.3 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.7865, allocations: 1.606 MB / 1.176 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.7869, allocations: 0.6909 MB / 1.176 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.787, allocations: 4 kB / 1.176 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.787, allocations: 19.42 kB / 1.176 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.787, allocations: 0 / 1.176 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.8089, allocations: 1.628 MB / 1.178 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.48, allocations: 10.19 kB / 1.178 GB, free: 7.082 MB / 0.9044 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