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.00138/0.001381, allocations: 99.62 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.001643/0.001643, 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.162/2.162, 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 3.586/3.586, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006747/1.019, allocations: 3.418 MB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004244/1.024, allocations: 1.232 MB / 0.9854 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/1.025, allocations: 15.94 kB / 0.9854 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/1.025, allocations: 63.34 kB / 0.9855 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/1.026, allocations: 223.3 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/1.028, allocations: 300.9 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001972/1.03, allocations: 0.5976 MB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009299/1.031, allocations: 303.5 kB / 0.9868 GB, free: 124 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/1.032, allocations: 239 kB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/1.032, allocations: 238.7 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.513e-05/1.033, allocations: 24 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/1.033, allocations: 28 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/1.033, allocations: 95.48 kB / 0.9874 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/1.033, allocations: 161.2 kB / 0.9876 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/1.034, allocations: 0.8008 MB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.034, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.817e-06/1.034, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.808e-05/1.034, allocations: 0 / 0.9884 GB, free: 14.54 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.002747/1.037, allocations: 0.9562 MB / 0.9893 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.037, allocations: 8.031 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/1.037, allocations: 102.5 kB / 0.9894 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/1.038, allocations: 86.97 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.039, allocations: 0.5252 MB / 0.99 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/1.039, allocations: 45.31 kB / 0.99 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/1.04, allocations: 64 kB / 0.9901 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/1.041, allocations: 0.6114 MB / 0.9907 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.041, allocations: 3.906 kB / 0.9907 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/1.042, allocations: 20 kB / 0.9907 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.042, allocations: 16 kB / 0.9907 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.043, allocations: 465 kB / 0.9912 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/1.048, allocations: 2.02 MB / 0.9932 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009804/1.049, allocations: 457 kB / 0.9936 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/1.049, allocations: 4.438 kB / 0.9936 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006314/1.05, allocations: 253.4 kB / 0.9938 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=49): time 3.286e-06/1.05, allocations: 4 kB / 0.9938 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.001687/1.052, allocations: 0.596 MB / 0.9944 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.052, allocations: 67.84 kB / 0.9945 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/1.052, allocations: 438 kB / 0.9949 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/1.052, allocations: 37.7 kB / 0.9949 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.053, allocations: 321 kB / 0.9953 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/1.053, allocations: 165.6 kB / 0.9954 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/1.053, allocations: 11.83 kB / 0.9954 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.053, allocations: 366.7 kB / 0.9958 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/1.054, allocations: 177 kB / 0.9959 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/1.054, allocations: 253.8 kB / 0.9962 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/1.054, allocations: 215.9 kB / 0.9964 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.055, allocations: 8 kB / 0.9964 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001573/1.056, allocations: 0.5664 MB / 0.997 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/1.056, allocations: 37.69 kB / 0.997 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.056, allocations: 0 / 0.997 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.056, allocations: 8 kB / 0.997 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/1.057, allocations: 115.8 kB / 0.9971 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/1.057, allocations: 4 kB / 0.9971 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/1.058, allocations: 79.56 kB / 0.9972 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/1.058, allocations: 16 kB / 0.9972 GB, free: 5.184 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.0004811/1.058, allocations: 209.7 kB / 0.9974 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/1.058, allocations: 55.34 kB / 0.9975 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/1.059, allocations: 61.58 kB / 0.9975 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.059, allocations: 8 kB / 0.9975 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.059, allocations: 4 kB / 0.9975 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.059, allocations: 3.984 kB / 0.9975 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/1.061, allocations: 1.197 MB / 0.9987 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.061, allocations: 0 / 0.9987 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/1.062, allocations: 95.89 kB / 0.9988 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.062, allocations: 0 / 0.9988 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.062, allocations: 11.98 kB / 0.9988 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.062, allocations: 4 kB / 0.9988 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.062, allocations: 0 / 0.9988 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.063, allocations: 0.7758 MB / 0.9996 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/1.064, allocations: 172.3 kB / 0.9997 GB, free: 2.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.064, allocations: 12 kB / 0.9997 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/1.064, allocations: 36 kB / 0.9998 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.065, allocations: 40.38 kB / 0.9998 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/1.065, allocations: 12 kB / 0.9998 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006019/1.065, allocations: 314.9 kB / 1 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.335e-06/1.065, allocations: 0 / 1 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008861/1.066, allocations: 139.5 kB / 1 GB, free: 1.945 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.002721/1.069, allocations: 1.331 MB / 1.002 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.071, allocations: 489.1 kB / 1.002 GB, free: 108 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.071, allocations: 0 / 1.002 GB, free: 108 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007773/1.072, allocations: 226.8 kB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/1.073, allocations: 135.8 kB / 1.002 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.084, allocations: 4.75 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/1.085, allocations: 0.9058 MB / 1.008 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005897/1.086, allocations: 64.58 kB / 1.008 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/1.086, allocations: 219.4 kB / 1.008 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of SimCode: time 1.983e-06/1.086, allocations: 4 kB / 1.008 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/1.128, allocations: 10.63 MB / 1.019 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.129, allocations: 193.9 kB / 1.019 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/4.519, allocations: 3.938 kB / 1.019 GB, free: 15.03 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