Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset",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.001312/0.001312, allocations: 100.3 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.001615/0.001615, allocations: 177.3 kB / 15.94 MB, free: 228 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.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.358/2.358, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004063, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7305, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003935/0.7344, allocations: 3.665 MB / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.7376, allocations: 1.441 MB / 0.9586 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.7388, allocations: 27.72 kB / 0.9586 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.7391, allocations: 71.12 kB / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.7404, allocations: 246.3 kB / 0.9589 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.7418, allocations: 0.5199 MB / 0.9594 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.7435, allocations: 0.7767 MB / 0.9602 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.7442, allocations: 353.4 kB / 0.9605 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.7449, allocations: 366.7 kB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.7454, allocations: 329.8 kB / 0.9612 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.7456, allocations: 29.84 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.7457, allocations: 27 kB / 0.9612 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.7459, allocations: 135.4 kB / 0.9613 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.7461, allocations: 174.1 kB / 0.9615 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.7468, allocations: 0.8066 MB / 0.9623 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.7468, allocations: 0 / 0.9623 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7468, allocations: 0 / 0.9623 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.952e-05/0.7469, allocations: 0 / 0.9623 GB, free: 1.344 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002914/0.7498, allocations: 1.251 MB / 0.9635 GB, free: 400 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.7499, allocations: 10.12 kB / 0.9635 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.7501, allocations: 111.5 kB / 0.9636 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.7504, allocations: 126.3 kB / 0.9638 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.7522, allocations: 0.6924 MB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.7523, allocations: 86.38 kB / 0.9645 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.7525, allocations: 73.66 kB / 0.9646 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.7541, allocations: 0.7307 MB / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.7541, allocations: 0 / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.7542, allocations: 26.59 kB / 0.9653 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.7542, allocations: 20.95 kB / 0.9653 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.7556, allocations: 0.5292 MB / 0.9659 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.7603, allocations: 2.284 MB / 0.9681 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.7621, allocations: 0.6496 MB / 0.9687 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.7622, allocations: 9.812 kB / 0.9687 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007871/0.763, allocations: 324.8 kB / 0.969 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/0.763, allocations: 4 kB / 0.9691 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.001884/0.7649, allocations: 0.7728 MB / 0.9698 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.765, allocations: 88.31 kB / 0.9699 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7661, allocations: 0.7463 MB / 0.9706 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.7662, allocations: 40.83 kB / 0.9707 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.7666, allocations: 441.3 kB / 0.9711 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.7669, allocations: 204.7 kB / 0.9713 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.767, allocations: 15.31 kB / 0.9713 GB, free: 11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.7672, allocations: 330.9 kB / 0.9716 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.7677, allocations: 198.1 kB / 0.9718 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.7683, allocations: 316.1 kB / 0.9721 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.7689, allocations: 231.9 kB / 0.9723 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.769, allocations: 5 kB / 0.9723 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001508/0.7705, allocations: 0.6591 MB / 0.973 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005539/0.771, allocations: 0.8729 MB / 0.9738 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7711, allocations: 7.219 kB / 0.9738 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.7711, allocations: 5 kB / 0.9738 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.7718, allocations: 152 kB / 0.974 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.7719, allocations: 8.781 kB / 0.974 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.7725, allocations: 71.16 kB / 0.974 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.7726, allocations: 19.31 kB / 0.9741 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.7726, allocations: 3.656 kB / 0.9741 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.7737, allocations: 0.5247 MB / 0.9746 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7737, allocations: 2.5 kB / 0.9746 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7737, allocations: 9.078 kB / 0.9746 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.7743, allocations: 143.7 kB / 0.9747 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7744, allocations: 10.22 kB / 0.9747 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.7749, allocations: 65.55 kB / 0.9748 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.775, allocations: 18.47 kB / 0.9748 GB, free: 8.539 MB / 0.7325 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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.0004668/0.7754, allocations: 295.9 kB / 0.9751 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.7756, allocations: 99.67 kB / 0.9752 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.7759, allocations: 108.8 kB / 0.9753 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7759, allocations: 6.188 kB / 0.9753 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.7759, allocations: 1.344 kB / 0.9753 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.7759, allocations: 3.984 kB / 0.9753 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.7788, allocations: 1.451 MB / 0.9767 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7788, allocations: 1.094 kB / 0.9767 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.7794, allocations: 112.2 kB / 0.9768 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.7794, allocations: 2.844 kB / 0.9768 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.7795, allocations: 15.98 kB / 0.9769 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7795, allocations: 1.469 kB / 0.9769 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7795, allocations: 1.531 kB / 0.9769 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.7815, allocations: 0.9682 MB / 0.9778 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.7819, allocations: 230.3 kB / 0.978 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.782, allocations: 12.12 kB / 0.978 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.7825, allocations: 38.66 kB / 0.9781 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7826, allocations: 40.34 kB / 0.9781 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.7827, allocations: 25.3 kB / 0.9781 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008116/0.7835, allocations: 0.515 MB / 0.9786 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7835, allocations: 0 / 0.9786 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001/0.7845, allocations: 275 kB / 0.9789 GB, free: 5.66 MB / 0.7325 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.002153/0.7867, allocations: 1.548 MB / 0.9804 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.7885, allocations: 0.8035 MB / 0.9812 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7885, allocations: 0 / 0.9812 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.7891, allocations: 275.7 kB / 0.9815 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7902, allocations: 214.8 kB / 0.9817 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.7946, allocations: 3.636 MB / 0.9852 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7953, allocations: 1.017 MB / 0.9862 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005526/0.7959, allocations: 114.9 kB / 0.9863 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.7964, allocations: 351.3 kB / 0.9867 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/0.7964, allocations: 0 / 0.9867 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.832, allocations: 15.96 MB / 1.002 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.8322, allocations: 178.3 kB / 1.002 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.962, allocations: 0 / 1.002 GB, free: 13.61 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat