Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.001285/0.001285, allocations: 99.86 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.001681/0.001681, 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 11.98 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7598, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003555/0.7634, allocations: 3.621 MB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.7658, allocations: 1.038 MB / 0.9582 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.7664, allocations: 20.25 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.7666, allocations: 83.02 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.7672, allocations: 161.1 kB / 0.9584 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.7676, allocations: 262.8 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.7683, allocations: 0.6554 MB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.7689, allocations: 476 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.7691, allocations: 238.4 kB / 0.96 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.7693, allocations: 302.5 kB / 0.9603 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.7694, allocations: 27.44 kB / 0.9603 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.7695, allocations: 29.28 kB / 0.9603 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.7696, allocations: 134.9 kB / 0.9605 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.7697, allocations: 170.7 kB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.7703, allocations: 1.069 MB / 0.9617 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.7704, allocations: 0 / 0.9617 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7704, allocations: 0 / 0.9617 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.7704, allocations: 0.9688 kB / 0.9617 GB, free: 1.691 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001775/0.7722, allocations: 1.195 MB / 0.9628 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7722, allocations: 13.41 kB / 0.9628 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.7724, allocations: 151 kB / 0.963 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.7725, allocations: 123 kB / 0.9631 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.7732, allocations: 0.5519 MB / 0.9636 GB, free: 116 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.7733, allocations: 73.69 kB / 0.9637 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.7734, allocations: 96.91 kB / 0.9638 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.7749, allocations: 0.8988 MB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.775, allocations: 1.094 kB / 0.9647 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.775, allocations: 44.7 kB / 0.9647 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.7751, allocations: 23.88 kB / 0.9647 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.7764, allocations: 0.6818 MB / 0.9654 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.7805, allocations: 2.883 MB / 0.9682 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.7819, allocations: 0.7337 MB / 0.9689 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.7819, allocations: 11.81 kB / 0.969 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/0.7827, allocations: 368.2 kB / 0.9693 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.645e-06/0.7827, allocations: 0 / 0.9693 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.001703/0.7844, allocations: 0.8753 MB / 0.9702 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.7845, allocations: 162.7 kB / 0.9703 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.7852, allocations: 0.5924 MB / 0.9709 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.7853, allocations: 46.08 kB / 0.9709 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.7856, allocations: 441.9 kB / 0.9714 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.7858, allocations: 249.2 kB / 0.9716 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.7858, allocations: 19.44 kB / 0.9716 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.786, allocations: 388 kB / 0.972 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.7865, allocations: 250.7 kB / 0.9722 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/0.7872, allocations: 384.7 kB / 0.9726 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.7877, allocations: 298.5 kB / 0.9729 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7877, allocations: 0 / 0.9729 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001443/0.7892, allocations: 0.7517 MB / 0.9736 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.7894, allocations: 460.5 kB / 0.9741 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.7894, allocations: 5.484 kB / 0.9741 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7894, allocations: 4.469 kB / 0.9741 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.79, allocations: 165.4 kB / 0.9742 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.7901, allocations: 3.688 kB / 0.9742 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.7905, allocations: 118.6 kB / 0.9743 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.7906, allocations: 21.56 kB / 0.9744 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-06/0.7906, allocations: 2.719 kB / 0.9744 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007832/0.7914, allocations: 0.5425 MB / 0.9749 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.7914, allocations: 1.031 kB / 0.9749 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.162e-06/0.7914, allocations: 8.969 kB / 0.9749 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.7919, allocations: 141.2 kB / 0.975 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.7919, allocations: 9.094 kB / 0.975 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.7922, allocations: 78.86 kB / 0.9751 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.7923, allocations: 20.91 kB / 0.9751 GB, free: 8.617 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0004213/0.7927, allocations: 311.2 kB / 0.9754 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7928, allocations: 75.06 kB / 0.9755 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.7929, allocations: 89.8 kB / 0.9756 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.793, allocations: 6.25 kB / 0.9756 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.793, allocations: 1.531 kB / 0.9756 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.793, allocations: 7.969 kB / 0.9756 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.7952, allocations: 1.646 MB / 0.9772 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7953, allocations: 0 / 0.9772 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.7958, allocations: 141.7 kB / 0.9773 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7959, allocations: 10.16 kB / 0.9774 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.7959, allocations: 12.09 kB / 0.9774 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7959, allocations: 3.938 kB / 0.9774 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7959, allocations: 0 / 0.9774 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.7976, allocations: 1.091 MB / 0.9784 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.7978, allocations: 164 kB / 0.9786 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.7978, allocations: 24 kB / 0.9786 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.7982, allocations: 51.95 kB / 0.9787 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.7983, allocations: 40.61 kB / 0.9787 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.7983, allocations: 19.98 kB / 0.9787 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004394/0.7987, allocations: 419.1 kB / 0.9791 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7987, allocations: 0 / 0.9791 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000698/0.7994, allocations: 326.3 kB / 0.9794 GB, free: 5.172 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.001949/0.8014, allocations: 1.673 MB / 0.9811 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.803, allocations: 0.939 MB / 0.982 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.803, allocations: 0 / 0.982 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.8035, allocations: 323.6 kB / 0.9823 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.8042, allocations: 149.5 kB / 0.9824 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.8114, allocations: 5.308 MB / 0.9876 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.812, allocations: 1.013 MB / 0.9886 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003971/0.8124, allocations: 89.61 kB / 0.9887 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.8129, allocations: 355.3 kB / 0.989 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/0.8129, allocations: 192 / 0.989 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.84, allocations: 14.08 MB / 1.003 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.8403, allocations: 202.9 kB / 1.003 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.863, allocations: 0 / 1.003 GB, free: 13.12 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat