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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 110.8 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.89 kB / 1.056 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9432, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002697/0.9459, allocations: 0.6469 MB / 1.214 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.9461, allocations: 21.08 kB / 1.214 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.9462, allocations: 0 / 1.214 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.9463, allocations: 8.953 kB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.9464, allocations: 1.062 kB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.9465, allocations: 1.125 kB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.9466, allocations: 37.62 kB / 1.214 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.9468, allocations: 32.89 kB / 1.214 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.9468, allocations: 17.53 kB / 1.214 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.9469, allocations: 20.28 kB / 1.214 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.9469, allocations: 2.156 kB / 1.214 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.9469, allocations: 3.281 kB / 1.214 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.9469, allocations: 11.25 kB / 1.214 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.947, allocations: 16.59 kB / 1.214 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.9471, allocations: 55.88 kB / 1.214 GB, free: 3.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9471, allocations: 0 / 1.214 GB, free: 3.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9471, allocations: 0 / 1.214 GB, free: 3.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.9471, allocations: 0 / 1.214 GB, free: 3.27 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.0005096/0.9477, allocations: 354.2 kB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.9477, allocations: 10.53 kB / 1.214 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.9478, allocations: 36.94 kB / 1.214 GB, free: 2.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.9478, allocations: 7.297 kB / 1.214 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.948, allocations: 180.5 kB / 1.214 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.948, allocations: 6.531 kB / 1.214 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.948, allocations: 3.656 kB / 1.214 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.9482, allocations: 79.72 kB / 1.214 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.9483, allocations: 7.875 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.9483, allocations: 5.031 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.9483, allocations: 5.125 kB / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.9484, allocations: 44.41 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.949, allocations: 492.2 kB / 1.215 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.9492, allocations: 166 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.9492, allocations: 85.14 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.9493, allocations: 83.27 kB / 1.215 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/0.9494, allocations: 115 kB / 1.215 GB, free: 1.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9494, allocations: 0 / 1.215 GB, free: 1.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001112/0.9495, allocations: 32.75 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.9496, allocations: 131.7 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.9498, allocations: 170 kB / 1.216 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.9498, allocations: 30.83 kB / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.9499, allocations: 95.41 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.9499, allocations: 0 / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.95, allocations: 13 kB / 1.216 GB, free: 1.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.9502, allocations: 321.1 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.9502, allocations: 7.781 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.9502, allocations: 12.05 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.9503, allocations: 14.52 kB / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9503, allocations: 0 / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000207/0.9505, allocations: 56.41 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.9505, allocations: 5.219 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9505, allocations: 0 / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.9506, allocations: 1.203 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.9507, allocations: 10.06 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.9507, allocations: 5.078 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.9507, allocations: 3.281 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.9507, allocations: 2.219 kB / 1.216 GB, free: 0.7383 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 0.000224/0.9509, allocations: 202.2 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.9511, allocations: 112.1 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.9512, allocations: 113.1 kB / 1.217 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/0.9513, allocations: 189.4 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001639/0.9514, allocations: 176.3 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/0.9516, allocations: 186.2 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.952, allocations: 421.5 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.859e-05/0.952, allocations: 102.1 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.9521, allocations: 106.1 kB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.9522, allocations: 177.4 kB / 1.218 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.9524, allocations: 180.2 kB / 1.218 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001166/0.9525, allocations: 185.3 kB / 1.218 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001138/0.9526, allocations: 185.4 kB / 1.219 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.9528, allocations: 309.3 kB / 1.219 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.953, allocations: 197.2 kB / 1.219 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.9531, allocations: 182.4 kB / 1.219 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.9532, allocations: 110.1 kB / 1.219 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.9534, allocations: 181.5 kB / 1.219 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.9534, allocations: 101.7 kB / 1.22 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001555/0.9536, allocations: 134.8 kB / 1.22 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.9536, allocations: 0 / 1.22 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002769/0.9538, allocations: 5.438 kB / 1.22 GB, free: 13.11 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.0006397/0.9545, allocations: 0.813 MB / 1.22 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.9546, allocations: 9.547 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9546, allocations: 0.9375 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.9546, allocations: 0 / 1.221 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.9553, allocations: 474.7 kB / 1.221 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.9572, allocations: 1.608 MB / 1.223 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.9575, allocations: 0.6933 MB / 1.223 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.9576, allocations: 6.312 kB / 1.223 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.9576, allocations: 13.09 kB / 1.223 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of SimCode: time 1.152e-06/0.9576, allocations: 4 kB / 1.223 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.9854, allocations: 1.634 MB / 1.225 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.917, allocations: 9.109 kB / 1.225 GB, free: 8.742 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.925583347678185]