Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.001134/0.001134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.75 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2458, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002258/0.2481, allocations: 0.9167 MB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2492, allocations: 0.8974 MB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.2493, allocations: 4 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.2494, allocations: 7.875 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.2495, allocations: 19.8 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2497, allocations: 43.88 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2498, allocations: 127.6 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.25, allocations: 61.5 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2501, allocations: 51.77 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2502, allocations: 51.77 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.2503, allocations: 16 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.2503, allocations: 15.94 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.2503, allocations: 35.89 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.2504, allocations: 55.67 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2506, allocations: 151.8 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2506, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2506, allocations: 7.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2506, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000608/0.2512, allocations: 419 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2513, allocations: 12.62 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2513, allocations: 38.73 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.2514, allocations: 12.84 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2516, allocations: 224.7 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2517, allocations: 12.31 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.2517, allocations: 11.94 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.2519, allocations: 99.19 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2519, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.252, allocations: 11.98 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.252, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.2522, allocations: 63.97 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.2528, allocations: 412.3 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.2531, allocations: 86.61 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2532, allocations: 40.83 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2532, allocations: 4 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2533, allocations: 34.5 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.2533, allocations: 3.984 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003759/0.2536, allocations: 129.6 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2537, allocations: 55.41 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.2538, allocations: 160.8 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2539, allocations: 29.7 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.2539, allocations: 108.3 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.254, allocations: 19.75 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.254, allocations: 25.7 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2541, allocations: 322.8 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2543, allocations: 31.98 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2544, allocations: 50.55 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2545, allocations: 64.77 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2546, allocations: 0 / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002507/0.2548, allocations: 117.5 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2548, allocations: 12.03 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2549, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2549, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.255, allocations: 19.86 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.255, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.2551, allocations: 8 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2551, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000105/0.2552, allocations: 129.8 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2552, allocations: 11.84 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2553, allocations: 16.72 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2553, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2553, allocations: 4 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2553, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2555, allocations: 217.4 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2556, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.2556, allocations: 11.94 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2557, allocations: 3.984 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2557, allocations: 3.938 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2557, allocations: 4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2557, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.256, allocations: 191.7 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.256, allocations: 88.95 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.2561, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2562, allocations: 11.98 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2562, allocations: 15.97 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.2563, allocations: 4 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.996e-05/0.2564, allocations: 117.4 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2564, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002464/0.2566, allocations: 23.91 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0005603/0.2572, allocations: 0.7358 MB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.2574, allocations: 79.89 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2575, allocations: 0 / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2576, allocations: 35.97 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.2579, allocations: 10.31 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.26, allocations: 1.65 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2603, allocations: 0.7002 MB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.04e-05/0.2603, allocations: 12.66 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.2604, allocations: 35.42 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of SimCode: time 1.723e-06/0.2604, allocations: 4.094 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2786, allocations: 2.609 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.379, allocations: 9.406 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches