Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.4 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008592/0.0008592, allocations: 99.83 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.063e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8925/1.162, allocations: 157.7 MB / 1.366 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/1.162, allocations: 80.47 kB / 1.366 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0468/1.209, allocations: 19.68 MB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.372e-06/1.209, allocations: 3.906 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001288/1.209, allocations: 31 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002052/1.211, allocations: 1.077 MB / 1.387 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.211, allocations: 7.688 kB / 1.387 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/1.211, allocations: 123.3 kB / 1.387 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.213, allocations: 0.7269 MB / 1.388 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/1.213, allocations: 65.62 kB / 1.388 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.213, allocations: 38.06 kB / 1.388 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007667/1.214, allocations: 451.4 kB / 1.388 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/1.214, allocations: 0.6245 MB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/1.214, allocations: 3.938 kB / 1.389 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/1.215, allocations: 7.891 kB / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.215, allocations: 15.38 kB / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/1.218, allocations: 2.211 MB / 1.391 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/1.219, allocations: 0.5565 MB / 1.391 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/1.219, allocations: 209 kB / 1.392 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.345e-05/1.219, allocations: 11.94 kB / 1.392 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/1.219, allocations: 286.5 kB / 1.392 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/1.219, allocations: 0 / 1.392 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0007415/1.22, allocations: 494.7 kB / 1.392 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.22, allocations: 140.4 kB / 1.393 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/1.221, allocations: 0.5487 MB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/1.221, allocations: 29.69 kB / 1.393 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/1.221, allocations: 449.9 kB / 1.394 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.221, allocations: 192.7 kB / 1.394 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/1.221, allocations: 0 / 1.394 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.221, allocations: 333.2 kB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/1.222, allocations: 175.2 kB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/1.222, allocations: 282.1 kB / 1.394 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/1.222, allocations: 200.8 kB / 1.395 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.222, allocations: 0 / 1.395 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007263/1.223, allocations: 0.5553 MB / 1.395 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003717/1.223, allocations: 0.8816 MB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.223, allocations: 0 / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/1.223, allocations: 7.781 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.224, allocations: 158.9 kB / 1.396 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.224, allocations: 11.83 kB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/1.225, allocations: 65.66 kB / 1.396 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/1.225, allocations: 26.61 kB / 1.396 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.225, allocations: 3.875 kB / 1.396 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/1.226, allocations: 450.8 kB / 1.397 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.226, allocations: 0 / 1.397 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.226, allocations: 7.719 kB / 1.397 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.227, allocations: 146.7 kB / 1.397 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.227, allocations: 15.61 kB / 1.397 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/1.228, allocations: 51.12 kB / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.228, allocations: 21.31 kB / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.000165/1.228, allocations: 121.6 kB / 1.397 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006439/1.229, allocations: 0.4883 MB / 1.398 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/1.229, allocations: 93.44 kB / 1.398 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/1.229, allocations: 91.28 kB / 1.398 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.229, allocations: 7.688 kB / 1.398 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.229, allocations: 0 / 1.398 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.229, allocations: 3.984 kB / 1.398 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.231, allocations: 1.315 MB / 1.399 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.231, allocations: 3.938 kB / 1.399 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/1.231, allocations: 111.9 kB / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.231, allocations: 7.844 kB / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/1.231, allocations: 11.64 kB / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.231, allocations: 0 / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.231, allocations: 0 / 1.399 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.232, allocations: 0.8676 MB / 1.4 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/1.233, allocations: 229 kB / 1.4 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.233, allocations: 3.906 kB / 1.4 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/1.233, allocations: 42.61 kB / 1.4 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/1.233, allocations: 35.36 kB / 1.4 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/1.233, allocations: 23.36 kB / 1.4 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004874/1.234, allocations: 430.8 kB / 1.401 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.234, allocations: 0 / 1.401 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007552/1.235, allocations: 267.4 kB / 1.401 GB, free: 22.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001356/1.236, allocations: 1.42 MB / 1.402 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.237, allocations: 0.7397 MB / 1.403 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.237, allocations: 0 / 1.403 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/1.237, allocations: 238.6 kB / 1.403 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.238, allocations: 206.2 kB / 1.404 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/1.241, allocations: 1.263 MB / 1.405 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/1.241, allocations: 1.018 MB / 1.406 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007654/1.242, allocations: 165.2 kB / 1.406 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/1.242, allocations: 353.2 kB / 1.406 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of SimCode: time 8.02e-07/1.242, allocations: 0 / 1.406 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/1.286, allocations: 16.72 MB / 1.423 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.287, allocations: 142.9 kB / 1.423 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.831, allocations: 4 kB / 1.423 GB, free: 2.414 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat