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.001304/0.001304, allocations: 99.31 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.001101/0.001101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.545/2.545, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.876/3.876, allocations: 409.2 MB / 0.6838 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006409/0.000641, allocations: 8 kB / 0.8375 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.183, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004178/1.187, allocations: 3.141 MB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002168/1.189, allocations: 1.196 MB / 0.9851 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/1.19, allocations: 23.88 kB / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/1.19, allocations: 51.38 kB / 0.9852 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006227/1.19, allocations: 198.2 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/1.191, allocations: 459.8 kB / 0.9858 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008279/1.192, allocations: 0.6022 MB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/1.193, allocations: 255.1 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/1.193, allocations: 294.6 kB / 0.9869 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/1.193, allocations: 262.5 kB / 0.9872 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/1.193, allocations: 20 kB / 0.9872 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/1.193, allocations: 27.94 kB / 0.9872 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/1.194, allocations: 103.4 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/1.194, allocations: 141.3 kB / 0.9874 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/1.194, allocations: 0.6101 MB / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/1.194, allocations: 0 / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.583e-06/1.194, allocations: 0 / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.194, allocations: 0 / 0.988 GB, free: 14.96 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.001859/1.196, allocations: 1.071 MB / 0.9891 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.196, allocations: 8.031 kB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/1.196, allocations: 90.52 kB / 0.9892 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.196, allocations: 94.88 kB / 0.9893 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/1.197, allocations: 0.5745 MB / 0.9898 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.198, allocations: 104.4 kB / 0.9899 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/1.198, allocations: 55.83 kB / 0.99 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.199, allocations: 0.604 MB / 0.9906 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.199, allocations: 4 kB / 0.9906 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/1.199, allocations: 23.98 kB / 0.9906 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/1.199, allocations: 15.94 kB / 0.9906 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/1.2, allocations: 439.7 kB / 0.991 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/1.202, allocations: 2.133 MB / 0.9931 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/1.204, allocations: 0.5303 MB / 0.9936 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/1.204, allocations: 4 kB / 0.9936 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/1.205, allocations: 290.2 kB / 0.9939 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 3.075e-06/1.205, allocations: 0 / 0.9939 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001976/1.207, allocations: 0.6411 MB / 0.9945 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.207, allocations: 88.86 kB / 0.9946 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.208, allocations: 0.606 MB / 0.9952 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.209, allocations: 37.7 kB / 0.9952 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/1.209, allocations: 360.8 kB / 0.9956 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/1.209, allocations: 149.8 kB / 0.9957 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/1.21, allocations: 12 kB / 0.9957 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003837/1.21, allocations: 331.1 kB / 0.9961 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.211, allocations: 181 kB / 0.9962 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/1.212, allocations: 276.3 kB / 0.9965 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/1.213, allocations: 246.4 kB / 0.9967 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.213, allocations: 0 / 0.9967 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002001/1.215, allocations: 0.6099 MB / 0.9973 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006341/1.216, allocations: 0.9909 MB / 0.9983 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.216, allocations: 7.938 kB / 0.9983 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.216, allocations: 7.953 kB / 0.9983 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/1.216, allocations: 111.8 kB / 0.9984 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.216, allocations: 4 kB / 0.9984 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/1.217, allocations: 75.5 kB / 0.9985 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/1.217, allocations: 20 kB / 0.9985 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.217, allocations: 4 kB / 0.9985 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009852/1.218, allocations: 0.4998 MB / 0.999 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/1.218, allocations: 4 kB / 0.999 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/1.218, allocations: 4 kB / 0.999 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/1.218, allocations: 112.1 kB / 0.9991 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.218, allocations: 4 kB / 0.9991 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/1.218, allocations: 55.52 kB / 0.9992 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.218, allocations: 23.98 kB / 0.9992 GB, free: 3.059 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.0004256/1.219, allocations: 281.9 kB / 0.9995 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.219, allocations: 71.06 kB / 0.9995 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/1.219, allocations: 87.2 kB / 0.9996 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.219, allocations: 4 kB / 0.9996 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.219, allocations: 0 / 0.9996 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.219, allocations: 3.984 kB / 0.9996 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/1.22, allocations: 0.6219 MB / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/1.22, allocations: 0 / 1 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/1.221, allocations: 87.88 kB / 1 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.221, allocations: 0 / 1 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/1.221, allocations: 16 kB / 1 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.221, allocations: 4 kB / 1 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.221, allocations: 0 / 1 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/1.222, allocations: 0.7525 MB / 1.001 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/1.222, allocations: 192 kB / 1.001 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/1.222, allocations: 11.98 kB / 1.001 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/1.223, allocations: 47.91 kB / 1.001 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.223, allocations: 31.95 kB / 1.001 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/1.223, allocations: 19.98 kB / 1.001 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006983/1.224, allocations: 423 kB / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.224, allocations: 0 / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009479/1.225, allocations: 215.4 kB / 1.002 GB, free: 128 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.002313/1.227, allocations: 1.319 MB / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.229, allocations: 0.8043 MB / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.229, allocations: 0 / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/1.23, allocations: 232.5 kB / 1.004 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/1.23, allocations: 169.9 kB / 1.004 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/1.234, allocations: 3.283 MB / 1.008 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/1.234, allocations: 0.9338 MB / 1.009 GB, free: 9.211 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004564/1.235, allocations: 89.12 kB / 1.009 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/1.235, allocations: 263.3 kB / 1.009 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/1.235, allocations: 4 kB / 1.009 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/1.502, allocations: 12.82 MB / 1.021 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/1.502, allocations: 181.2 kB / 1.022 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/5.293, allocations: 0 / 1.022 GB, free: 12.02 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