Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.001236/0.001236, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001344/0.001344, allocations: 177.3 kB / 15.95 MB, free: 216 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.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.397/2.397, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7197, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0008008/0.7206, allocations: 424 kB / 0.954 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.7213, allocations: 0.8005 MB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.7214, allocations: 5.125 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.7214, allocations: 3.938 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.7215, allocations: 4.891 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.912e-05/0.7216, allocations: 9.891 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.7217, allocations: 24.16 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.7217, allocations: 7.75 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.7218, allocations: 13.14 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.7219, allocations: 17.7 kB / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.7219, allocations: 5.969 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.7219, allocations: 2.156 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.7219, allocations: 12.98 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.722, allocations: 27.64 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.295e-05/0.722, allocations: 29.05 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.7221, allocations: 0.9688 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7221, allocations: 0 / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.7221, allocations: 0 / 0.955 GB, free: 6.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004444/0.7225, allocations: 368.8 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7226, allocations: 13.31 kB / 0.9553 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.7226, allocations: 35.95 kB / 0.9554 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.7226, allocations: 9.109 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.794e-05/0.7227, allocations: 161.4 kB / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7227, allocations: 5.188 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.7228, allocations: 6.5 kB / 0.9555 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.723, allocations: 83.97 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.723, allocations: 3.984 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.723, allocations: 0.9375 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.723, allocations: 3.984 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.7233, allocations: 86.73 kB / 0.9557 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.7236, allocations: 267.6 kB / 0.956 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.7238, allocations: 69.97 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7239, allocations: 5.375 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.7239, allocations: 30.56 kB / 0.9561 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7239, allocations: 1.125 kB / 0.9561 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000532/0.7244, allocations: 162.6 kB / 0.9562 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.7244, allocations: 52.44 kB / 0.9563 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.7245, allocations: 119.1 kB / 0.9564 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.7245, allocations: 25.7 kB / 0.9564 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.7245, allocations: 90.45 kB / 0.9565 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.7246, allocations: 13.03 kB / 0.9565 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.7246, allocations: 0 / 0.9565 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.7246, allocations: 317.2 kB / 0.9568 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.7248, allocations: 42.06 kB / 0.9568 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.7249, allocations: 43.58 kB / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.7251, allocations: 43 kB / 0.9569 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7251, allocations: 0 / 0.9569 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003596/0.7254, allocations: 116.5 kB / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7255, allocations: 5.281 kB / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7255, allocations: 1.062 kB / 0.957 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7255, allocations: 3.953 kB / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7257, allocations: 31.94 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7257, allocations: 0 / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.7258, allocations: 16.08 kB / 0.9571 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.7258, allocations: 1.344 kB / 0.9571 GB, free: 5.035 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 (3): * Single equations (assignments): 3 * 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.235e-05/0.7258, allocations: 111.2 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.7259, allocations: 10.44 kB / 0.9572 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.7263, allocations: 127.2 kB / 0.9573 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7263, allocations: 0 / 0.9573 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.7263, allocations: 5.172 kB / 0.9573 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7263, allocations: 7.922 kB / 0.9573 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.7264, allocations: 177.1 kB / 0.9575 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7264, allocations: 0.9375 kB / 0.9575 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.7265, allocations: 19.2 kB / 0.9575 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7266, allocations: 4 kB / 0.9575 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7266, allocations: 1.312 kB / 0.9575 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7266, allocations: 0 / 0.9575 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7266, allocations: 0 / 0.9575 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.7269, allocations: 224.4 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.727, allocations: 82.2 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.727, allocations: 1.188 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.7271, allocations: 19.91 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.7272, allocations: 9.344 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.7272, allocations: 1.188 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.7272, allocations: 92.88 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7272, allocations: 1.062 kB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.7274, allocations: 6.188 kB / 0.9579 GB, free: 4.223 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 (3): * Single equations (assignments): 3 * 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.0004955/0.7279, allocations: 0.7473 MB / 0.9587 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.7283, allocations: 97.5 kB / 0.9588 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7283, allocations: 0 / 0.9588 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.7284, allocations: 42.19 kB / 0.9588 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.7286, allocations: 9.25 kB / 0.9588 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.729, allocations: 165.6 kB / 0.959 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.776e-05/0.7291, allocations: 0.6858 MB / 0.9596 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.7292, allocations: 0 / 0.9596 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.7292, allocations: 21.22 kB / 0.9597 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7292, allocations: 0 / 0.9597 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.7396, allocations: 1.268 MB / 0.9609 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.7398, allocations: 183.8 kB / 0.9611 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.37, allocations: 0 / 0.9611 GB, free: 1.746 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat does not exist to compare? outputFormat=mat