Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.001148/0.001148, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001517/0.001517, allocations: 172.7 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.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 11.98 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7253, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004581/0.73, allocations: 3.607 MB / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.7325, allocations: 1.018 MB / 0.9857 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.7331, allocations: 23.94 kB / 0.9857 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.7335, allocations: 134.7 kB / 0.9858 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.7339, allocations: 85.56 kB / 0.9859 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.7345, allocations: 235.7 kB / 0.9861 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009795/0.7355, allocations: 0.9678 MB / 0.9871 GB, free: 184 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007383/0.7362, allocations: 473 kB / 0.9875 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.7365, allocations: 242.5 kB / 0.9878 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.7368, allocations: 297.9 kB / 0.988 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.7369, allocations: 28 kB / 0.9881 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.737, allocations: 32 kB / 0.9881 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.7371, allocations: 135.2 kB / 0.9882 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.7373, allocations: 181 kB / 0.9884 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009142/0.7382, allocations: 1.066 MB / 0.9894 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7382, allocations: 0 / 0.9894 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7382, allocations: 0 / 0.9894 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.7382, allocations: 0 / 0.9894 GB, free: 13.73 MB / 0.7481 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.00192/0.7401, allocations: 1.204 MB / 0.9906 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7402, allocations: 8.031 kB / 0.9906 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.7404, allocations: 155.9 kB / 0.9908 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.7406, allocations: 118.6 kB / 0.9909 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.7413, allocations: 0.5509 MB / 0.9914 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.7414, allocations: 74 kB / 0.9915 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7415, allocations: 96 kB / 0.9916 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.7431, allocations: 0.9095 MB / 0.9925 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.7432, allocations: 7.938 kB / 0.9925 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.7432, allocations: 40 kB / 0.9925 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.7433, allocations: 24 kB / 0.9925 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.7446, allocations: 0.6754 MB / 0.9932 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.7488, allocations: 2.88 MB / 0.996 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.75, allocations: 0.7261 MB / 0.9967 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.7507, allocations: 414.9 kB / 0.9971 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.7507, allocations: 12.66 kB / 0.9971 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006929/0.7514, allocations: 368.4 kB / 0.9975 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 3.076e-06/0.7514, allocations: 0 / 0.9975 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.001624/0.7531, allocations: 0.8835 MB / 0.9983 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.7532, allocations: 170.8 kB / 0.9985 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.7539, allocations: 0.5864 MB / 0.9991 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.754, allocations: 41.7 kB / 0.9991 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.7543, allocations: 443.9 kB / 0.9995 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.7545, allocations: 252.3 kB / 0.9998 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.7545, allocations: 16 kB / 0.9998 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7547, allocations: 390.7 kB / 1 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.7552, allocations: 249.9 kB / 1 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.7558, allocations: 390 kB / 1.001 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.7563, allocations: 298.9 kB / 1.001 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7563, allocations: 0 / 1.001 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001258/0.7576, allocations: 0.7544 MB / 1.002 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.7577, allocations: 125.7 kB / 1.002 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.7577, allocations: 0 / 1.002 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7577, allocations: 4 kB / 1.002 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.7583, allocations: 167.8 kB / 1.002 GB, free: 412 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7583, allocations: 8 kB / 1.002 GB, free: 404 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.7587, allocations: 107.2 kB / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.7588, allocations: 35.94 kB / 1.002 GB, free: 260 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.7588, allocations: 7.953 kB / 1.002 GB, free: 252 kB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007948/0.7596, allocations: 0.535 MB / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7596, allocations: 4 kB / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.7596, allocations: 4 kB / 1.003 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.7601, allocations: 143.8 kB / 1.003 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7601, allocations: 4 kB / 1.003 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.7604, allocations: 91.47 kB / 1.003 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.7604, allocations: 20 kB / 1.003 GB, free: 15.45 MB / 0.7637 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.0004342/0.7609, allocations: 296.9 kB / 1.003 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.761, allocations: 83.02 kB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.7611, allocations: 91.72 kB / 1.003 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.7612, allocations: 4 kB / 1.003 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/0.7612, allocations: 8 kB / 1.003 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.7612, allocations: 7.969 kB / 1.003 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.7636, allocations: 1.64 MB / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.7636, allocations: 0 / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.7642, allocations: 151.8 kB / 1.005 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7642, allocations: 3.938 kB / 1.005 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.7643, allocations: 12 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7643, allocations: 4.078 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7643, allocations: 3.984 kB / 1.005 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.7661, allocations: 1.092 MB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.7662, allocations: 159.9 kB / 1.006 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.7663, allocations: 20 kB / 1.006 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.7666, allocations: 52.05 kB / 1.007 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.7667, allocations: 48.53 kB / 1.007 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.7667, allocations: 20 kB / 1.007 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004961/0.7672, allocations: 415.1 kB / 1.007 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7672, allocations: 0 / 1.007 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007822/0.768, allocations: 326.3 kB / 1.007 GB, free: 10.94 MB / 0.7637 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.002091/0.7701, allocations: 1.664 MB / 1.009 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7718, allocations: 0.9348 MB / 1.01 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7719, allocations: 0 / 1.01 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/0.7724, allocations: 332.1 kB / 1.01 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.7733, allocations: 155.8 kB / 1.01 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/0.781, allocations: 4.723 MB / 1.015 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.7818, allocations: 0.9939 MB / 1.016 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000399/0.7822, allocations: 93.47 kB / 1.016 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.7826, allocations: 355.3 kB / 1.016 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of SimCode: time 1.052e-06/0.7826, allocations: 0 / 1.016 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.8119, allocations: 14.11 MB / 1.03 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.8122, allocations: 219.1 kB / 1.03 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.96, allocations: 3.938 kB / 1.03 GB, free: 3.473 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat