Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPID",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.0008704/0.0008704, allocations: 91.3 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.001001/0.001001, 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.136/1.136, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.262/2.262, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003012, allocations: 15.98 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5726, allocations: 146.8 MB / 0.9811 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003523/0.5762, allocations: 3.129 MB / 0.9842 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.5786, allocations: 1.259 MB / 0.9854 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005843/0.5792, allocations: 23.88 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.5795, allocations: 95.05 kB / 0.9855 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.5801, allocations: 127.1 kB / 0.9856 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.5812, allocations: 474 kB / 0.9861 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007898/0.582, allocations: 0.82 MB / 0.9869 GB, free: 332 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.5824, allocations: 259.1 kB / 0.9871 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.5827, allocations: 274.4 kB / 0.9874 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.583, allocations: 262.3 kB / 0.9877 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.5831, allocations: 24 kB / 0.9877 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.5831, allocations: 20 kB / 0.9877 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.5833, allocations: 107.4 kB / 0.9878 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.5834, allocations: 141.2 kB / 0.9879 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.5838, allocations: 0.614 MB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5839, allocations: 0 / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5839, allocations: 0 / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.5839, allocations: 4 kB / 0.9885 GB, free: 14.62 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001788/0.5857, allocations: 1.067 MB / 0.9896 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5857, allocations: 8.031 kB / 0.9896 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.5859, allocations: 94.52 kB / 0.9897 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.586, allocations: 90.88 kB / 0.9898 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.5868, allocations: 0.5667 MB / 0.9903 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.5869, allocations: 112.3 kB / 0.9904 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.587, allocations: 52 kB / 0.9905 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.588, allocations: 0.6079 MB / 0.9911 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.588, allocations: 0 / 0.9911 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.5881, allocations: 24 kB / 0.9911 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.5881, allocations: 16 kB / 0.9911 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.589, allocations: 439.6 kB / 0.9915 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.5914, allocations: 2.129 MB / 0.9936 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.5925, allocations: 0.5224 MB / 0.9941 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.5929, allocations: 221.5 kB / 0.9943 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.593, allocations: 4 kB / 0.9943 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/0.5936, allocations: 302.1 kB / 0.9946 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.5936, allocations: 4 kB / 0.9946 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001297/0.5949, allocations: 0.6333 MB / 0.9952 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.595, allocations: 88.86 kB / 0.9953 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.5956, allocations: 0.6022 MB / 0.9959 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.5957, allocations: 37.7 kB / 0.9959 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.5959, allocations: 364.8 kB / 0.9963 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.596, allocations: 149.8 kB / 0.9964 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.5961, allocations: 12 kB / 0.9964 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5962, allocations: 330 kB / 0.9968 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.5966, allocations: 185 kB / 0.9969 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.5971, allocations: 284.2 kB / 0.9972 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.5976, allocations: 234.4 kB / 0.9974 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.5976, allocations: 3.938 kB / 0.9974 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001081/0.5987, allocations: 0.6139 MB / 0.998 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.5988, allocations: 197.2 kB / 0.9982 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/0.5988, allocations: 4 kB / 0.9982 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5988, allocations: 4 kB / 0.9982 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.5993, allocations: 111.9 kB / 0.9983 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.5993, allocations: 11.94 kB / 0.9984 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.5996, allocations: 63.5 kB / 0.9984 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.5997, allocations: 21.09 kB / 0.9984 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.5997, allocations: 5.875 kB / 0.9984 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009211/0.6007, allocations: 0.5038 MB / 0.9989 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6007, allocations: 4 kB / 0.9989 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.261e-06/0.6007, allocations: 4 kB / 0.9989 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.6011, allocations: 103.8 kB / 0.999 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.6011, allocations: 8 kB / 0.999 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.6015, allocations: 67.45 kB / 0.9991 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.6015, allocations: 20.16 kB / 0.9991 GB, free: 3.344 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002759/0.6018, allocations: 274.1 kB / 0.9994 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.6019, allocations: 75 kB / 0.9995 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.602, allocations: 83.2 kB / 0.9995 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.602, allocations: 4 kB / 0.9995 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6021, allocations: 0 / 0.9995 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.6021, allocations: 7.938 kB / 0.9995 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.6027, allocations: 0.6219 MB / 1 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6027, allocations: 4 kB / 1 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.6032, allocations: 83.89 kB / 1 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.6032, allocations: 7.984 kB / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.6032, allocations: 4 kB / 1 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.6032, allocations: 4 kB / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6032, allocations: 0 / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.6047, allocations: 0.7525 MB / 1.001 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.6049, allocations: 192 kB / 1.001 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.605, allocations: 12 kB / 1.001 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.6053, allocations: 47.95 kB / 1.001 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.6054, allocations: 27.95 kB / 1.001 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.6055, allocations: 19.98 kB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000463/0.6059, allocations: 427 kB / 1.002 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.606, allocations: 0 / 1.002 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000595/0.6066, allocations: 211.4 kB / 1.002 GB, free: 432 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001695/0.6083, allocations: 1.312 MB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.6097, allocations: 0.8126 MB / 1.004 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6097, allocations: 0 / 1.004 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.6102, allocations: 223.8 kB / 1.004 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008156/0.611, allocations: 184.4 kB / 1.004 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.6178, allocations: 3.999 MB / 1.008 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.6184, allocations: 0.9144 MB / 1.009 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004562/0.6189, allocations: 93.11 kB / 1.009 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.6192, allocations: 259.4 kB / 1.009 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of SimCode: time 7.01e-07/0.6192, allocations: 0 / 1.009 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.802/3.421, allocations: 13.22 MB / 1.022 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/3.421, allocations: 185.7 kB / 1.023 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/5.3, allocations: 0 / 1.023 GB, free: 11.23 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat does not exist to compare? outputFormat=mat