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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008867/0.000887, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00534/0.00534, allocations: 172.5 kB / 16.26 MB, free: 6.68 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 12.28 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6046, allocations: 142.4 MB / 0.9552 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0006794/0.6053, allocations: 395.1 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.6054, allocations: 6.781 kB / 0.9556 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.6055, allocations: 5.031 kB / 0.9556 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.454e-05/0.6056, allocations: 3.938 kB / 0.9556 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.6056, allocations: 0.9688 kB / 0.9556 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.016e-05/0.6057, allocations: 5.203 kB / 0.9556 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.6058, allocations: 41.2 kB / 0.9556 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.6059, allocations: 30.42 kB / 0.9557 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.6059, allocations: 6.969 kB / 0.9557 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.6059, allocations: 13.78 kB / 0.9557 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.606, allocations: 1.188 kB / 0.9557 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.606, allocations: 5.219 kB / 0.9557 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.606, allocations: 7.281 kB / 0.9557 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.606, allocations: 37.14 kB / 0.9557 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.432e-05/0.6061, allocations: 43.59 kB / 0.9558 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6061, allocations: 0 / 0.9558 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6061, allocations: 0 / 0.9558 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.6061, allocations: 1.125 kB / 0.9558 GB, free: 7.32 MB / 0.7169 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.0002135/0.6063, allocations: 339.9 kB / 0.9561 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6064, allocations: 8.5 kB / 0.9561 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.6064, allocations: 41.75 kB / 0.9561 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.6064, allocations: 3.594 kB / 0.9561 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6066, allocations: 191.5 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.6066, allocations: 5.719 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.6066, allocations: 3.938 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6067, allocations: 83.56 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6067, allocations: 4.938 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.6067, allocations: 0 / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.6068, allocations: 1.094 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.6068, allocations: 48.62 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.6072, allocations: 488.7 kB / 0.9569 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.6072, allocations: 170.2 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.6072, allocations: 81.36 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.6072, allocations: 79.22 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.6073, allocations: 110.9 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6073, allocations: 0 / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.554e-05/0.6073, allocations: 33.2 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.6074, allocations: 130.6 kB / 0.9575 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.6075, allocations: 169.9 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.6075, allocations: 25.7 kB / 0.9577 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.6075, allocations: 95.41 kB / 0.9578 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.6076, allocations: 5.281 kB / 0.9578 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.6076, allocations: 9.828 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.6076, allocations: 325 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.6076, allocations: 8.5 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.6077, allocations: 15.89 kB / 0.9581 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.6077, allocations: 9.797 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6077, allocations: 1.125 kB / 0.9581 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.813e-05/0.6078, allocations: 55.08 kB / 0.9582 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.6078, allocations: 9.844 kB / 0.9582 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.6078, allocations: 0 / 0.9582 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.6078, allocations: 0 / 0.9582 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.6079, allocations: 7.5 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.6079, allocations: 0 / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.6079, allocations: 3.688 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.6079, allocations: 1.375 kB / 0.9582 GB, free: 4.805 MB / 0.7169 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 5.169e-05/0.608, allocations: 196.1 kB / 0.9584 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.608, allocations: 115.1 kB / 0.9585 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.608, allocations: 120.2 kB / 0.9586 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6081, allocations: 185.3 kB / 0.9588 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.6081, allocations: 177.3 kB / 0.959 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.6081, allocations: 181.3 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.6082, allocations: 422.1 kB / 0.9595 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.6083, allocations: 110 kB / 0.9597 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.6083, allocations: 107.4 kB / 0.9598 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/0.6083, allocations: 177.2 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6083, allocations: 177.1 kB / 0.9601 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.6084, allocations: 185.3 kB / 0.9603 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.038e-05/0.6084, allocations: 189.3 kB / 0.9605 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.464e-05/0.6084, allocations: 308.8 kB / 0.9607 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.6085, allocations: 202.9 kB / 0.9609 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.6085, allocations: 177.6 kB / 0.9611 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.6086, allocations: 106.2 kB / 0.9612 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.6086, allocations: 185.4 kB / 0.9614 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.6086, allocations: 102.3 kB / 0.9615 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.814e-05/0.6087, allocations: 133.5 kB / 0.9616 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6087, allocations: 1.125 kB / 0.9616 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001969/0.6089, allocations: 3.969 kB / 0.9616 GB, free: 1.176 MB / 0.7169 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.0002161/0.6091, allocations: 0.8131 MB / 0.9624 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.889e-05/0.6092, allocations: 18.27 kB / 0.9624 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6092, allocations: 0 / 0.9624 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-06/0.6092, allocations: 9.312 kB / 0.9624 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.6095, allocations: 0.5261 MB / 0.9629 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6108, allocations: 1.609 MB / 0.9645 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.611, allocations: 0.6934 MB / 0.9652 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.611, allocations: 5 kB / 0.9652 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.6111, allocations: 18.33 kB / 0.9652 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.6111, allocations: 4 kB / 0.9652 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7002/1.311, allocations: 1.405 MB / 0.9666 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.312, allocations: 211.8 kB / 0.9668 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.928, allocations: 1 kB / 0.9668 GB, free: 12.7 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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