Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_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.001172/0.001172, allocations: 100.1 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.001391/0.001391, 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 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.486/2.486, allocations: 409.2 MB / 0.6838 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.703, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004983/0.708, allocations: 4.661 MB / 0.9854 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.7109, allocations: 1.658 MB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.7114, allocations: 27.88 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.7117, allocations: 110.7 kB / 0.9872 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.000663/0.7123, allocations: 247 kB / 0.9874 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008424/0.7132, allocations: 458.4 kB / 0.9879 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.7143, allocations: 0.9337 MB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007054/0.715, allocations: 0.5146 MB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.7153, allocations: 350.1 kB / 0.9896 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.7157, allocations: 397.4 kB / 0.99 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.427e-05/0.7158, allocations: 40 kB / 0.99 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.716, allocations: 51.98 kB / 0.9901 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.7161, allocations: 171.1 kB / 0.9902 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.7163, allocations: 220.9 kB / 0.9905 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.7174, allocations: 1.432 MB / 0.9919 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.7174, allocations: 0 / 0.9919 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7174, allocations: 0 / 0.9919 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.7174, allocations: 0 / 0.9919 GB, free: 11.02 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002454/0.7199, allocations: 1.517 MB / 0.9933 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7199, allocations: 12.03 kB / 0.9933 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.7201, allocations: 172.9 kB / 0.9935 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.7203, allocations: 154.1 kB / 0.9937 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.7213, allocations: 0.7037 MB / 0.9943 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.7214, allocations: 90.11 kB / 0.9944 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7215, allocations: 116 kB / 0.9945 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.7234, allocations: 1.096 MB / 0.9956 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.7234, allocations: 0 / 0.9956 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.7235, allocations: 44 kB / 0.9957 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.7235, allocations: 28 kB / 0.9957 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.7253, allocations: 0.855 MB / 0.9965 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.7309, allocations: 3.94 MB / 1 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.7333, allocations: 1.068 MB / 1.001 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.7333, allocations: 12.66 kB / 1.001 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/0.7342, allocations: 432.8 kB / 1.002 GB, free: 476 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=84): time 2.555e-06/0.7342, allocations: 4 kB / 1.002 GB, free: 472 kB / 0.7481 GB Notification: Performance of matching and sorting (n=84): time 0.002135/0.7363, allocations: 1.105 MB / 1.003 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.7365, allocations: 214.6 kB / 1.003 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7375, allocations: 0.8565 MB / 1.004 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.7376, allocations: 45.7 kB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.738, allocations: 0.5581 MB / 1.005 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.7382, allocations: 279.9 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.7382, allocations: 20 kB / 1.005 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7384, allocations: 341.9 kB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.7391, allocations: 353.8 kB / 1.005 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.74, allocations: 0.5951 MB / 1.006 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.7409, allocations: 432.5 kB / 1.006 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7409, allocations: 0 / 1.006 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001997/0.7429, allocations: 1.103 MB / 1.008 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006396/0.7435, allocations: 1.696 MB / 1.009 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7436, allocations: 8 kB / 1.009 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7436, allocations: 11.94 kB / 1.009 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.7444, allocations: 215.7 kB / 1.009 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.7444, allocations: 11.94 kB / 1.009 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/0.7452, allocations: 198.9 kB / 1.01 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.7453, allocations: 43.92 kB / 1.01 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.7453, allocations: 5.25 kB / 1.01 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001204/0.7465, allocations: 0.8057 MB / 1.01 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.7465, allocations: 4 kB / 1.01 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.7465, allocations: 8 kB / 1.01 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.7471, allocations: 176.3 kB / 1.011 GB, free: 7.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7472, allocations: 11.94 kB / 1.011 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.7478, allocations: 163 kB / 1.011 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.7479, allocations: 36 kB / 1.011 GB, free: 6.863 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0004688/0.7484, allocations: 336.9 kB / 1.011 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.7485, allocations: 106.6 kB / 1.011 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.7487, allocations: 118.9 kB / 1.011 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.7487, allocations: 8 kB / 1.011 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7487, allocations: 0 / 1.011 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.7487, allocations: 11.94 kB / 1.011 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.7498, allocations: 0.9787 MB / 1.012 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7498, allocations: 4 kB / 1.012 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.7505, allocations: 167.8 kB / 1.013 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.7505, allocations: 4 kB / 1.013 GB, free: 5.074 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.7505, allocations: 23.98 kB / 1.013 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7505, allocations: 4 kB / 1.013 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7506, allocations: 0 / 1.013 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.7528, allocations: 1.257 MB / 1.014 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.753, allocations: 195.6 kB / 1.014 GB, free: 3.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7531, allocations: 20 kB / 1.014 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.7535, allocations: 75.94 kB / 1.014 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.7536, allocations: 40.94 kB / 1.014 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.7537, allocations: 27.92 kB / 1.014 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007426/0.7544, allocations: 0.5828 MB / 1.015 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7544, allocations: 0 / 1.015 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009243/0.7553, allocations: 406.2 kB / 1.015 GB, free: 2.41 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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.002582/0.7579, allocations: 1.836 MB / 1.017 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.7603, allocations: 1.397 MB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7603, allocations: 0 / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.761, allocations: 398.2 kB / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.7619, allocations: 229.4 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.7667, allocations: 6.112 MB / 1.025 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.7673, allocations: 1.105 MB / 1.026 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.7678, allocations: 123.9 kB / 1.026 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/0.7683, allocations: 463.3 kB / 1.026 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of SimCode: time 1.683e-06/0.7683, allocations: 0 / 1.026 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03563/0.804, allocations: 19.91 MB / 1.046 GB, free: 2.809 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.8042, allocations: 200.5 kB / 1.046 GB, free: 2.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.102, allocations: 0 / 1.046 GB, free: 2.57 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.LimPID_res.mat does not exist to compare? outputFormat=mat