Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_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.006749/0.006749, allocations: 99.45 kB / 15.73 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.001617/0.001617, allocations: 194.1 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.7422 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 76.11 kB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8478, allocations: 159.1 MB / 1.22 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002047/0.8499, allocations: 0.6521 MB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.8501, allocations: 12 kB / 1.22 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.8502, allocations: 0 / 1.22 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.8503, allocations: 7.922 kB / 1.22 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.8503, allocations: 4 kB / 1.22 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.8504, allocations: 8 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.8506, allocations: 39.91 kB / 1.221 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.8507, allocations: 31.97 kB / 1.221 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.8508, allocations: 15.94 kB / 1.221 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.8508, allocations: 19.86 kB / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.8508, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.8508, allocations: 4 kB / 1.221 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.8509, allocations: 11.94 kB / 1.221 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.8509, allocations: 19.88 kB / 1.221 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.8511, allocations: 50.47 kB / 1.221 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8511, allocations: 0 / 1.221 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8511, allocations: 4 kB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.8511, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.9356 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.0003988/0.8515, allocations: 352.3 kB / 1.221 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8515, allocations: 12.56 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.8516, allocations: 34.75 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.8516, allocations: 8.891 kB / 1.221 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.8518, allocations: 184.3 kB / 1.221 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8518, allocations: 4.375 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.8518, allocations: 384 / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.852, allocations: 90.16 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.852, allocations: 3.938 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.852, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.852, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.8521, allocations: 55.91 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.8526, allocations: 479.2 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.8527, allocations: 177.1 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.8528, allocations: 80.14 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.8528, allocations: 75.28 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.8529, allocations: 109.8 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.8529, allocations: 0 / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.853, allocations: 37.58 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.853, allocations: 134.6 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.8532, allocations: 175.5 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.8532, allocations: 25.7 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.8533, allocations: 92.14 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.8533, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.8533, allocations: 13.72 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.8535, allocations: 322.8 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.8535, allocations: 8 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.8535, allocations: 15.98 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.8535, allocations: 12.84 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8536, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001228/0.8537, allocations: 57.58 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8537, allocations: 4 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8537, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8537, allocations: 3.938 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.8538, allocations: 7.938 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8538, allocations: 112 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.8539, allocations: 15.98 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8539, allocations: 3.984 kB / 1.223 GB, free: 14.62 MB / 0.9512 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.0001033/0.854, allocations: 193.7 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.8541, allocations: 113 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.8541, allocations: 112.8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.559e-05/0.8542, allocations: 184.2 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.848e-05/0.8542, allocations: 184.2 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.723e-05/0.8543, allocations: 180.2 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.8545, allocations: 417.2 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.8546, allocations: 108.9 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.8546, allocations: 101 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-05/0.8547, allocations: 180.2 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.8547, allocations: 184.3 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.288e-05/0.8548, allocations: 188.2 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.735e-05/0.8549, allocations: 180.2 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.855, allocations: 308.6 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.8551, allocations: 194 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.8552, allocations: 176.3 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.8553, allocations: 116.9 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.8553, allocations: 176.3 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.8554, allocations: 108.9 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001031/0.8555, allocations: 133.3 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8555, allocations: 4 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002381/0.8557, allocations: 4 kB / 1.227 GB, free: 10.93 MB / 0.9512 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.0004292/0.8562, allocations: 0.8091 MB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.8563, allocations: 15.92 kB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8563, allocations: 4.062 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.8563, allocations: 4 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.8568, allocations: 463.6 kB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.8581, allocations: 1.611 MB / 1.229 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.8583, allocations: 0.6885 MB / 1.23 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.8584, allocations: 12 kB / 1.23 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.8584, allocations: 15.44 kB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.8584, allocations: 0 / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.8752, allocations: 1.64 MB / 1.232 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/8.347, allocations: 8.469 kB / 1.232 GB, free: 5.633 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches