Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_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.001916/0.001916, allocations: 108 kB / 15.61 MB, free: 148 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.00206/0.00206, allocations: 196 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.001741, allocations: 66.19 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2445, allocations: 159.1 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00211/0.2466, allocations: 0.9109 MB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.2476, allocations: 0.8974 MB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.2477, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.2477, allocations: 7.875 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.2478, allocations: 15.8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2479, allocations: 43.88 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2481, allocations: 127.7 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2482, allocations: 53.52 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.2483, allocations: 55.7 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/0.2484, allocations: 51.77 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2485, allocations: 16 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.2485, allocations: 12 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.2485, allocations: 35.84 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.2486, allocations: 63.72 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2487, allocations: 147.7 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2488, allocations: 4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2488, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2488, allocations: 0 / 1.066 GB, free: 11.69 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005548/0.2493, allocations: 423 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2494, allocations: 8.031 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.2494, allocations: 42.73 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2495, allocations: 28.73 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2497, allocations: 212.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2498, allocations: 8.375 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2498, allocations: 11.94 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.25, allocations: 99.53 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.25, allocations: 3.984 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.25, allocations: 8 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.25, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2502, allocations: 71.91 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.2508, allocations: 404.3 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.251, allocations: 82.67 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.2511, allocations: 40.83 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.2511, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2512, allocations: 38.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2512, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003406/0.2515, allocations: 125.5 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.2516, allocations: 63.39 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2517, allocations: 151.6 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2517, allocations: 29.7 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.2518, allocations: 108.3 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2518, allocations: 27.67 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.2519, allocations: 21.72 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.252, allocations: 326.8 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.2521, allocations: 27.98 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2522, allocations: 58.48 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2524, allocations: 56.83 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2524, allocations: 4.031 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002211/0.2526, allocations: 117.3 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.2526, allocations: 7.938 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2526, allocations: 4 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2527, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.2527, allocations: 11.98 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2527, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.2528, allocations: 12 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2528, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 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 9.355e-05/0.2529, allocations: 127 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.253, allocations: 15.75 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.253, allocations: 20.7 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.253, allocations: 3.938 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.253, allocations: 0 / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.253, allocations: 288 / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2533, allocations: 213.5 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2533, allocations: 0 / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.2533, allocations: 23.86 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2534, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2534, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2534, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2534, allocations: 0 / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2536, allocations: 195.4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.2537, allocations: 88.95 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2537, allocations: 8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2538, allocations: 7.984 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.2539, allocations: 19.91 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2539, allocations: 4 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.254, allocations: 117.2 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000225/0.2542, allocations: 23.91 kB / 1.07 GB, free: 7.918 MB / 0.8262 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.0005391/0.2548, allocations: 0.728 MB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.255, allocations: 75.91 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.255, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.2551, allocations: 43.91 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.2554, allocations: 9.719 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2572, allocations: 1.653 MB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2575, allocations: 0.7009 MB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.2575, allocations: 16.66 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.2576, allocations: 35.42 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2576, allocations: 0 / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9105/1.168, allocations: 2.604 MB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.34, allocations: 14.28 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches