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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007693/0.0007694, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008323/0.0008326, allocations: 168.7 kB / 15.95 MB, free: 204 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.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8314, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004263/0.8357, allocations: 3.674 MB / 0.9847 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002948/0.8387, allocations: 1.496 MB / 0.9862 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005153/0.8392, allocations: 35.75 kB / 0.9862 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.8396, allocations: 118.8 kB / 0.9863 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.8401, allocations: 170.8 kB / 0.9865 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.8414, allocations: 0.5193 MB / 0.987 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.8425, allocations: 1.05 MB / 0.988 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.843, allocations: 351.3 kB / 0.9883 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.8434, allocations: 338 kB / 0.9887 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.8438, allocations: 337.8 kB / 0.989 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.8439, allocations: 28 kB / 0.989 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.844, allocations: 24 kB / 0.989 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.8441, allocations: 135.2 kB / 0.9892 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.8442, allocations: 177.1 kB / 0.9893 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.8449, allocations: 0.8087 MB / 0.9901 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8449, allocations: 4 kB / 0.9901 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8449, allocations: 3.984 kB / 0.9901 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.845, allocations: 0 / 0.9901 GB, free: 12.95 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002022/0.847, allocations: 1.243 MB / 0.9913 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.847, allocations: 8.031 kB / 0.9914 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.8472, allocations: 114.5 kB / 0.9915 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.8474, allocations: 122.5 kB / 0.9916 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.8484, allocations: 0.6996 MB / 0.9923 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.8485, allocations: 79.7 kB / 0.9923 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.8486, allocations: 72 kB / 0.9924 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8498, allocations: 0.7328 MB / 0.9931 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.8499, allocations: 0 / 0.9931 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.8499, allocations: 32 kB / 0.9932 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.8499, allocations: 16 kB / 0.9932 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.851, allocations: 0.5282 MB / 0.9937 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.8542, allocations: 2.287 MB / 0.9959 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.8554, allocations: 0.6232 MB / 0.9965 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.8559, allocations: 291.8 kB / 0.9968 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.856, allocations: 4.734 kB / 0.9968 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000654/0.8566, allocations: 334.9 kB / 0.9971 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/0.8567, allocations: 0 / 0.9971 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.001492/0.8582, allocations: 0.7637 MB / 0.9979 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.8582, allocations: 89.67 kB / 0.998 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.8591, allocations: 0.7439 MB / 0.9987 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.8591, allocations: 41.69 kB / 0.9987 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.8594, allocations: 440.5 kB / 0.9991 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.8596, allocations: 212.9 kB / 0.9993 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.8597, allocations: 12 kB / 0.9994 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8598, allocations: 326 kB / 0.9997 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.8602, allocations: 209.2 kB / 0.9999 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.8607, allocations: 308.4 kB / 1 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.8611, allocations: 234.2 kB / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8612, allocations: 0 / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001131/0.8623, allocations: 0.6617 MB / 1.001 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.8624, allocations: 159.2 kB / 1.001 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8624, allocations: 4 kB / 1.001 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8624, allocations: 8 kB / 1.001 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.8631, allocations: 147.8 kB / 1.001 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.8631, allocations: 8 kB / 1.001 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.8635, allocations: 71.31 kB / 1.001 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.8635, allocations: 27.98 kB / 1.001 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.8635, allocations: 5.094 kB / 1.001 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009193/0.8644, allocations: 0.5247 MB / 1.002 GB, free: 488 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8645, allocations: 4 kB / 1.002 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8645, allocations: 4 kB / 1.002 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.865, allocations: 143.8 kB / 1.002 GB, free: 336 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.865, allocations: 7.953 kB / 1.002 GB, free: 328 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.8654, allocations: 71.38 kB / 1.002 GB, free: 256 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.8654, allocations: 20.06 kB / 1.002 GB, free: 236 kB / 0.7481 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.0003276/0.8658, allocations: 293.1 kB / 1.002 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.8659, allocations: 94.78 kB / 1.003 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.8661, allocations: 101.2 kB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.8661, allocations: 8 kB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.8661, allocations: 3.953 kB / 1.003 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8661, allocations: 3.984 kB / 1.003 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.8681, allocations: 1.462 MB / 1.004 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8681, allocations: 0 / 1.004 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.8687, allocations: 111.8 kB / 1.004 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8687, allocations: 0 / 1.004 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.8687, allocations: 19.95 kB / 1.004 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.8687, allocations: 4 kB / 1.004 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8687, allocations: 0 / 1.004 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.8702, allocations: 0.9669 MB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.8705, allocations: 223.8 kB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.8706, allocations: 12 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.871, allocations: 51.91 kB / 1.005 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.8711, allocations: 32.52 kB / 1.005 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.8711, allocations: 19.98 kB / 1.006 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000566/0.8717, allocations: 0.5107 MB / 1.006 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8717, allocations: 4 kB / 1.006 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006436/0.8723, allocations: 275 kB / 1.006 GB, free: 11.96 MB / 0.7637 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.001749/0.8741, allocations: 1.537 MB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.8755, allocations: 0.8079 MB / 1.009 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8755, allocations: 0 / 1.009 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.876, allocations: 267.1 kB / 1.009 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.877, allocations: 238.5 kB / 1.009 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.884, allocations: 5.115 MB / 1.014 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.8845, allocations: 0.994 MB / 1.015 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004894/0.885, allocations: 118.7 kB / 1.015 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.8854, allocations: 343.3 kB / 1.015 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of SimCode: time 1.894e-06/0.8855, allocations: 0 / 1.015 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7934/1.679, allocations: 16.52 MB / 1.032 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/1.679, allocations: 189.8 kB / 1.032 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/4.408, allocations: 4 kB / 1.032 GB, free: 1.766 MB / 0.7794 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) Environment - environmentSimulation: 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