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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001078/0.001078, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008596/0.008596, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.312/2.312, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 15.66 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.224, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003533/0.2276, allocations: 3.9 MB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.2299, allocations: 1.535 MB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.2304, allocations: 31.81 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.2307, allocations: 126.8 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.2313, allocations: 174.8 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2324, allocations: 0.6129 MB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.2334, allocations: 1.14 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.234, allocations: 480.2 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.2344, allocations: 353.8 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.2348, allocations: 349.6 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.2348, allocations: 28 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.2349, allocations: 28 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.235, allocations: 143.1 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.2353, allocations: 418.8 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.2359, allocations: 1.012 MB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.236, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.236, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.236, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 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.001853/0.2378, allocations: 1.233 MB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2379, allocations: 15.97 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.238, allocations: 106.7 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.2382, allocations: 127.4 kB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009508/0.2391, allocations: 0.7352 MB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.2392, allocations: 84.25 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.2393, allocations: 72.38 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.2404, allocations: 0.7445 MB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2404, allocations: 0 / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.2405, allocations: 28 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2405, allocations: 16 kB / 1.072 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.2415, allocations: 0.536 MB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.2443, allocations: 2.286 MB / 1.075 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.2455, allocations: 0.6405 MB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.246, allocations: 292.3 kB / 1.076 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.2461, allocations: 8.5 kB / 1.076 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.2467, allocations: 339 kB / 1.076 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 1.723e-06/0.2467, allocations: 0 / 1.076 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.001418/0.2481, allocations: 0.7595 MB / 1.077 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.2482, allocations: 89.61 kB / 1.077 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.2489, allocations: 0.7595 MB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.2489, allocations: 37.7 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.2492, allocations: 440.5 kB / 1.078 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.2494, allocations: 201 kB / 1.078 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.2494, allocations: 65.67 kB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.2495, allocations: 330 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.2499, allocations: 209.2 kB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.2504, allocations: 312.4 kB / 1.079 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.2513, allocations: 0.5153 MB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2513, allocations: 4 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001107/0.2524, allocations: 0.6578 MB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.2525, allocations: 163.1 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2525, allocations: 4 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2526, allocations: 8 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.2531, allocations: 147.8 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2532, allocations: 7.984 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.2535, allocations: 71.36 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2536, allocations: 27.98 kB / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-06/0.2536, allocations: 4 kB / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009223/0.2545, allocations: 0.5286 MB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2545, allocations: 4 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-06/0.2546, allocations: 4 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.2551, allocations: 139.8 kB / 1.081 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2551, allocations: 4 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.2555, allocations: 67.41 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.2555, allocations: 24 kB / 1.081 GB, free: 13.38 MB / 0.8419 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.2558, allocations: 302.4 kB / 1.082 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2559, allocations: 90.88 kB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.2561, allocations: 109.2 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2561, allocations: 8 kB / 1.082 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2561, allocations: 4 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2561, allocations: 3.938 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.258, allocations: 1.462 MB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.258, allocations: 0 / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.2585, allocations: 103.9 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2585, allocations: 7.938 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.2586, allocations: 12 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2586, allocations: 7.938 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2586, allocations: 0 / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.2601, allocations: 0.9782 MB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2603, allocations: 227.6 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.2604, allocations: 12 kB / 1.085 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.2608, allocations: 47.95 kB / 1.085 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.2609, allocations: 32.52 kB / 1.085 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2609, allocations: 20.08 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005265/0.2615, allocations: 0.5146 MB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2615, allocations: 0 / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006001/0.2621, allocations: 275.1 kB / 1.085 GB, free: 9.086 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/0.2638, allocations: 1.546 MB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.2652, allocations: 0.808 MB / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2652, allocations: 0 / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.2657, allocations: 275.1 kB / 1.088 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2668, allocations: 235.5 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.2754, allocations: 7.345 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.2759, allocations: 0.994 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004166/0.2763, allocations: 122.8 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.2767, allocations: 343.3 kB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2767, allocations: 0 / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.748/6.025, allocations: 16.39 MB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/6.025, allocations: 203.8 kB / 1.113 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/8.905, allocations: 0 / 1.113 GB, free: 12.69 MB / 0.8731 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/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) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches