Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.00102/0.00102, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001192/0.001192, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 0.6653 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 15.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7604, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.0009042/0.7614, allocations: 475.5 kB / 0.9541 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.7622, allocations: 0.8344 MB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.7622, allocations: 0.9375 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.7623, allocations: 11.92 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.7624, allocations: 6.562 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.7625, allocations: 19.66 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.829e-05/0.7626, allocations: 39.89 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7627, allocations: 18.61 kB / 0.955 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.7628, allocations: 21.58 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.7629, allocations: 41.22 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.7629, allocations: 6.812 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.7629, allocations: 3.781 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.7629, allocations: 9.359 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.763, allocations: 33.45 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.388e-05/0.7631, allocations: 48.69 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7631, allocations: 1.406 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7631, allocations: 0 / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7631, allocations: 0 / 0.9551 GB, free: 6.848 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.0004559/0.7635, allocations: 374.5 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7636, allocations: 9.062 kB / 0.9555 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.7636, allocations: 35.84 kB / 0.9555 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.7637, allocations: 16.22 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.7638, allocations: 170.9 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.7638, allocations: 2.75 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.7638, allocations: 7.844 kB / 0.9557 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.7641, allocations: 89.58 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.7641, allocations: 0 / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.7641, allocations: 1.531 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7641, allocations: 1.25 kB / 0.9558 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.7643, allocations: 80.05 kB / 0.9559 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.7648, allocations: 326.3 kB / 0.9562 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.765, allocations: 92.69 kB / 0.9563 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.765, allocations: 5.391 kB / 0.9563 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.7651, allocations: 34.52 kB / 0.9563 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7651, allocations: 1.562 kB / 0.9563 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000474/0.7655, allocations: 155 kB / 0.9565 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.7656, allocations: 52.81 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.7657, allocations: 117.1 kB / 0.9566 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.7657, allocations: 30.92 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.7657, allocations: 102.9 kB / 0.9568 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.7658, allocations: 13.19 kB / 0.9568 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.7658, allocations: 1.125 kB / 0.9568 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.7658, allocations: 319.9 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.766, allocations: 32.83 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.7661, allocations: 37 kB / 0.9571 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.7662, allocations: 45.06 kB / 0.9572 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7662, allocations: 0 / 0.9572 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002846/0.7665, allocations: 111.8 kB / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.7666, allocations: 12.89 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7666, allocations: 8.812 kB / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7666, allocations: 0 / 0.9573 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.7667, allocations: 22.14 kB / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7668, allocations: 0 / 0.9573 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.7668, allocations: 10.83 kB / 0.9573 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7669, allocations: 1.969 kB / 0.9573 GB, free: 4.781 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.7669, allocations: 113.1 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.767, allocations: 9.938 kB / 0.9575 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.767, allocations: 18.44 kB / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.767, allocations: 3.625 kB / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.767, allocations: 0 / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.767, allocations: 0 / 0.9575 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.7672, allocations: 190.4 kB / 0.9577 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7672, allocations: 0 / 0.9577 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.7673, allocations: 19.55 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7673, allocations: 1.312 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.7674, allocations: 4 kB / 0.9577 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.7674, allocations: 9.062 kB / 0.9577 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7674, allocations: 3.938 kB / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.7677, allocations: 207.5 kB / 0.9579 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.7678, allocations: 87.27 kB / 0.958 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.7678, allocations: 0 / 0.958 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.7679, allocations: 11.05 kB / 0.958 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.768, allocations: 20.05 kB / 0.958 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.768, allocations: 5.344 kB / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.7681, allocations: 102.3 kB / 0.9581 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7681, allocations: 0 / 0.9581 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002427/0.7683, allocations: 10.25 kB / 0.9581 GB, free: 4.012 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/0.7689, allocations: 0.7551 MB / 0.9589 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.7693, allocations: 77.72 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7693, allocations: 0 / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.7694, allocations: 56.84 kB / 0.959 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.7697, allocations: 6.5 kB / 0.959 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.7709, allocations: 0.5821 MB / 0.9596 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.771, allocations: 0.6934 MB / 0.9602 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.391e-05/0.7711, allocations: 9.391 kB / 0.9603 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.7712, allocations: 26.73 kB / 0.9603 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of SimCode: time 7.81e-07/0.7712, allocations: 0 / 0.9603 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.7842, allocations: 1.938 MB / 0.9622 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001236/0.7844, allocations: 189.8 kB / 0.9624 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.551, allocations: 2 kB / 0.9624 GB, free: 0.875 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat does not exist to compare? outputFormat=mat