Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_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.0008444/0.0008489, allocations: 86.95 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.0008816/0.0008816, 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.132/1.132, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5987, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003605/0.6023, allocations: 3.53 MB / 0.9846 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.6044, allocations: 1.235 MB / 0.9858 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/0.6048, allocations: 23.88 kB / 0.9858 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.6051, allocations: 79.22 kB / 0.9859 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.6055, allocations: 146.8 kB / 0.986 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.6062, allocations: 285.1 kB / 0.9863 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008527/0.6071, allocations: 0.8383 MB / 0.9871 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.6075, allocations: 299.5 kB / 0.9874 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.6078, allocations: 226.9 kB / 0.9876 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.6081, allocations: 238.6 kB / 0.9878 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.6082, allocations: 24 kB / 0.9879 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.6083, allocations: 24 kB / 0.9879 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.6084, allocations: 99.47 kB / 0.988 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.6085, allocations: 161.3 kB / 0.9881 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.6091, allocations: 0.8047 MB / 0.9889 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6092, allocations: 0 / 0.9889 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6092, allocations: 0 / 0.9889 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.6092, allocations: 0 / 0.9889 GB, free: 14.28 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001518/0.6107, allocations: 0.9484 MB / 0.9899 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6108, allocations: 8.031 kB / 0.9899 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.6109, allocations: 102.5 kB / 0.99 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.611, allocations: 90.95 kB / 0.99 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.6118, allocations: 0.5368 MB / 0.9906 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.6119, allocations: 41.31 kB / 0.9906 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.6119, allocations: 60 kB / 0.9907 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.613, allocations: 0.6114 MB / 0.9913 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.613, allocations: 7.906 kB / 0.9913 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.6131, allocations: 28 kB / 0.9913 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6131, allocations: 12 kB / 0.9913 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.614, allocations: 469 kB / 0.9918 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.6175, allocations: 2.016 MB / 0.9937 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.6188, allocations: 449 kB / 0.9942 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.6192, allocations: 246.1 kB / 0.9944 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.6192, allocations: 8.438 kB / 0.9944 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005386/0.6198, allocations: 269.3 kB / 0.9947 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.6198, allocations: 0 / 0.9947 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001186/0.621, allocations: 0.596 MB / 0.9952 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.621, allocations: 59.84 kB / 0.9953 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.6215, allocations: 438 kB / 0.9957 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.6215, allocations: 37.7 kB / 0.9957 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.6217, allocations: 325 kB / 0.9961 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6219, allocations: 161.7 kB / 0.9962 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.6219, allocations: 12 kB / 0.9962 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.622, allocations: 374.7 kB / 0.9966 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.6224, allocations: 165 kB / 0.9967 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.6228, allocations: 257.8 kB / 0.997 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.6232, allocations: 227.8 kB / 0.9972 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6232, allocations: 0 / 0.9972 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009566/0.6242, allocations: 0.5663 MB / 0.9978 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6242, allocations: 29.7 kB / 0.9978 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6242, allocations: 7.984 kB / 0.9978 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6243, allocations: 4 kB / 0.9978 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.6247, allocations: 115.8 kB / 0.9979 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6248, allocations: 4.25 kB / 0.9979 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.6251, allocations: 75.48 kB / 0.998 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.6251, allocations: 20 kB / 0.998 GB, free: 4.664 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000233/0.6254, allocations: 209.7 kB / 0.9982 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.6254, allocations: 55.34 kB / 0.9983 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.6256, allocations: 69.58 kB / 0.9983 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6256, allocations: 4 kB / 0.9983 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6256, allocations: 0 / 0.9983 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6256, allocations: 0 / 0.9983 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6272, allocations: 1.197 MB / 0.9995 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6272, allocations: 3.984 kB / 0.9995 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.6276, allocations: 91.89 kB / 0.9996 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6276, allocations: 0 / 0.9996 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.6277, allocations: 15.98 kB / 0.9996 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6277, allocations: 0 / 0.9996 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6277, allocations: 4 kB / 0.9996 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.629, allocations: 0.7758 MB / 1 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.6291, allocations: 172.3 kB / 1.001 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.6292, allocations: 8 kB / 1.001 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6295, allocations: 36 kB / 1.001 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.6296, allocations: 40.39 kB / 1.001 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.6296, allocations: 15.98 kB / 1.001 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002949/0.6299, allocations: 306.8 kB / 1.001 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6299, allocations: 0 / 1.001 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004122/0.6303, allocations: 143.5 kB / 1.001 GB, free: 1.434 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.001425/0.6318, allocations: 1.332 MB / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008496/0.6326, allocations: 485.6 kB / 1.003 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6326, allocations: 4 kB / 1.003 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.633, allocations: 226.3 kB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.6337, allocations: 136.1 kB / 1.003 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.6392, allocations: 3.58 MB / 1.007 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.6396, allocations: 0.8941 MB / 1.008 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.6399, allocations: 68.58 kB / 1.008 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.6402, allocations: 223.4 kB / 1.008 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/0.6402, allocations: 0 / 1.008 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.812/3.452, allocations: 10.67 MB / 1.018 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/3.452, allocations: 195.4 kB / 1.018 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/5.193, allocations: 3.375 kB / 1.018 GB, free: 15.68 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat