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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001568/0.001568, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001444/0.001444, allocations: 197.6 kB / 16.25 MB, free: 6.625 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6364, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.00163/0.638, allocations: 0.7109 MB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.6382, allocations: 14.36 kB / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.6382, allocations: 1.531 kB / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.6383, allocations: 3.938 kB / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.6384, allocations: 0 / 0.95 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.677e-05/0.6384, allocations: 6.562 kB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.509e-05/0.6385, allocations: 49 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.6387, allocations: 27.61 kB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.6387, allocations: 17.36 kB / 0.9501 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.554e-05/0.6387, allocations: 12.41 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.6387, allocations: 3.281 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.6387, allocations: 2.156 kB / 0.9501 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.6388, allocations: 16.2 kB / 0.9501 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.6388, allocations: 16.44 kB / 0.9501 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.242e-05/0.6389, allocations: 48.8 kB / 0.9502 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6389, allocations: 0 / 0.9502 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6389, allocations: 4 kB / 0.9502 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.6389, allocations: 1.062 kB / 0.9502 GB, free: 8.434 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.0002513/0.6392, allocations: 345.1 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.6392, allocations: 8.438 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.6392, allocations: 44.52 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.6393, allocations: 7.875 kB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6394, allocations: 184.4 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6394, allocations: 2.5 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.6394, allocations: 7.594 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6395, allocations: 80.33 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6396, allocations: 3.938 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.6396, allocations: 0 / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6396, allocations: 5.203 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.6397, allocations: 48.94 kB / 0.9509 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.64, allocations: 480 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.6401, allocations: 170.5 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.6401, allocations: 84.14 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.6401, allocations: 80.58 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.6401, allocations: 109.8 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6401, allocations: 1.312 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.126e-05/0.6402, allocations: 32.2 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.6402, allocations: 134.7 kB / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.6404, allocations: 172.5 kB / 0.9521 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.6404, allocations: 25.7 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.6404, allocations: 100.2 kB / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.6404, allocations: 0 / 0.9522 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.6404, allocations: 12.5 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.6405, allocations: 325.6 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.6405, allocations: 4.562 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.6405, allocations: 15.64 kB / 0.9525 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.6406, allocations: 13.7 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6406, allocations: 1.156 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.77e-05/0.6407, allocations: 50.86 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.6407, allocations: 8 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6407, allocations: 0 / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.6407, allocations: 3.984 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.6408, allocations: 7.062 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6408, allocations: 1.312 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.6408, allocations: 11.06 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.6408, allocations: 1.156 kB / 0.9526 GB, free: 5.91 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.361e-05/0.6409, allocations: 195.3 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.6409, allocations: 108.2 kB / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.6409, allocations: 121.4 kB / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.641, allocations: 184.1 kB / 0.9532 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.641, allocations: 181.9 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.641, allocations: 184.3 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.6412, allocations: 422.6 kB / 0.954 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.6412, allocations: 106.6 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.6412, allocations: 106.4 kB / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.6412, allocations: 181.6 kB / 0.9543 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.6413, allocations: 177.8 kB / 0.9545 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/0.6413, allocations: 188.1 kB / 0.9547 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/0.6413, allocations: 178 kB / 0.9549 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.371e-05/0.6414, allocations: 313.2 kB / 0.9552 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.6414, allocations: 189.5 kB / 0.9553 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.6415, allocations: 185.8 kB / 0.9555 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.6415, allocations: 106.2 kB / 0.9556 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.6416, allocations: 181.4 kB / 0.9558 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6416, allocations: 106.5 kB / 0.9559 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.6416, allocations: 135.5 kB / 0.956 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6417, allocations: 0 / 0.956 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002175/0.6419, allocations: 5.5 kB / 0.956 GB, free: 2.285 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.0002185/0.6421, allocations: 0.817 MB / 0.9568 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.6422, allocations: 17.53 kB / 0.9568 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6422, allocations: 0 / 0.9568 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.6422, allocations: 1.375 kB / 0.9568 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.6425, allocations: 466.3 kB / 0.9573 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6435, allocations: 1.606 MB / 0.9589 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.6438, allocations: 0.7027 MB / 0.9595 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.6438, allocations: 4.781 kB / 0.9595 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.6439, allocations: 18.52 kB / 0.9596 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.6439, allocations: 0 / 0.9596 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5889/1.233, allocations: 1.507 MB / 0.961 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/1.233, allocations: 205.9 kB / 0.9612 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.97, allocations: 4 kB / 0.9612 GB, free: 13.79 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