Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset",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.001308/0.001308, allocations: 100 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.001972/0.001973, allocations: 177.3 kB / 15.94 MB, free: 228 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.245/1.245, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.202/2.202, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4813, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003249/0.4846, allocations: 3.667 MB / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.4864, allocations: 1.442 MB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.4867, allocations: 31.81 kB / 0.9859 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.4868, allocations: 67.17 kB / 0.9859 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.4873, allocations: 243.2 kB / 0.9862 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.4883, allocations: 0.5218 MB / 0.9867 GB, free: 356 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.4891, allocations: 0.7743 MB / 0.9874 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.4895, allocations: 359.3 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.4899, allocations: 366.2 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.4902, allocations: 333.9 kB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.4902, allocations: 28 kB / 0.9885 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.4903, allocations: 24 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.4904, allocations: 135.3 kB / 0.9886 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.4905, allocations: 177.1 kB / 0.9888 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.4911, allocations: 0.8087 MB / 0.9896 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.4911, allocations: 0 / 0.9896 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4911, allocations: 0 / 0.9896 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.4911, allocations: 0 / 0.9896 GB, free: 13.34 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001765/0.4929, allocations: 1.247 MB / 0.9908 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.4929, allocations: 11.97 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.493, allocations: 114.5 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.4932, allocations: 126.5 kB / 0.991 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.4941, allocations: 0.6996 MB / 0.9917 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.4942, allocations: 83.69 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.4943, allocations: 72 kB / 0.9919 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4953, allocations: 0.725 MB / 0.9926 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4954, allocations: 0 / 0.9926 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.4954, allocations: 31.98 kB / 0.9926 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4954, allocations: 20 kB / 0.9926 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/0.4964, allocations: 0.5204 MB / 0.9931 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.4991, allocations: 2.29 MB / 0.9954 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5004, allocations: 0.6421 MB / 0.996 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.5005, allocations: 12.55 kB / 0.996 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009261/0.5014, allocations: 335.1 kB / 0.9963 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 1.763e-06/0.5014, allocations: 0 / 0.9963 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.001742/0.5032, allocations: 0.7755 MB / 0.9971 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.5033, allocations: 81.67 kB / 0.9972 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.5044, allocations: 0.7477 MB / 0.9979 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.5045, allocations: 41.7 kB / 0.9979 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/0.5049, allocations: 436.5 kB / 0.9984 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5051, allocations: 205 kB / 0.9985 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.5052, allocations: 12 kB / 0.9986 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5054, allocations: 330 kB / 0.9989 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.5059, allocations: 205.2 kB / 0.9991 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.5064, allocations: 304.5 kB / 0.9994 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.5069, allocations: 238.1 kB / 0.9996 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5069, allocations: 3.984 kB / 0.9996 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001079/0.508, allocations: 0.658 MB / 1 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.5083, allocations: 0.883 MB / 1.001 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5083, allocations: 0 / 1.001 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5083, allocations: 4 kB / 1.001 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.5089, allocations: 151.8 kB / 1.001 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5089, allocations: 7.953 kB / 1.001 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.5093, allocations: 79.31 kB / 1.001 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.5094, allocations: 20 kB / 1.001 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.5094, allocations: 4 kB / 1.001 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008884/0.5103, allocations: 0.5285 MB / 1.002 GB, free: 380 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.5103, allocations: 0 / 1.002 GB, free: 380 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.5103, allocations: 4 kB / 1.002 GB, free: 376 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.5109, allocations: 139.8 kB / 1.002 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5109, allocations: 11.94 kB / 1.002 GB, free: 224 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.5112, allocations: 63.64 kB / 1.002 GB, free: 160 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5113, allocations: 23.98 kB / 1.002 GB, free: 136 kB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002637/0.5115, allocations: 298.5 kB / 1.002 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.5116, allocations: 98.78 kB / 1.002 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.5118, allocations: 101.2 kB / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5118, allocations: 4 kB / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5118, allocations: 0 / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5118, allocations: 3.984 kB / 1.003 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.5136, allocations: 1.462 MB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5136, allocations: 0 / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.5141, allocations: 103.9 kB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5142, allocations: 4 kB / 1.004 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.5142, allocations: 19.98 kB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5142, allocations: 0 / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5142, allocations: 4 kB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.5157, allocations: 0.9746 MB / 1.005 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.516, allocations: 223.8 kB / 1.005 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.5161, allocations: 8 kB / 1.005 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.5165, allocations: 47.91 kB / 1.005 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.5166, allocations: 36.5 kB / 1.005 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.5166, allocations: 16 kB / 1.005 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005271/0.5171, allocations: 0.5107 MB / 1.006 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5171, allocations: 0 / 1.006 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006281/0.5178, allocations: 275 kB / 1.006 GB, free: 11.87 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.001741/0.5195, allocations: 1.539 MB / 1.008 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.5209, allocations: 0.8038 MB / 1.008 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5209, allocations: 0 / 1.008 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.5213, allocations: 271.5 kB / 1.009 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.5223, allocations: 228.4 kB / 1.009 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.5252, allocations: 3.635 MB / 1.012 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.5256, allocations: 1.013 MB / 1.013 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000377/0.526, allocations: 114.7 kB / 1.014 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.5264, allocations: 351.3 kB / 1.014 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/0.5264, allocations: 0 / 1.014 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.701/4.227, allocations: 15.96 MB / 1.03 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/4.227, allocations: 186 kB / 1.03 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/5.952, allocations: 4 kB / 1.03 GB, free: 3.812 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat does not exist to compare? outputFormat=mat