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.001275/0.001275, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001324, allocations: 191.7 kB / 16.25 MB, free: 6.648 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.45 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.235, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001955/0.237, allocations: 0.9876 MB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.2378, allocations: 0.8936 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.2379, allocations: 4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.2379, allocations: 3.938 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.238, allocations: 11.86 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.2382, allocations: 35.95 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2383, allocations: 135.6 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2384, allocations: 53.5 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.2385, allocations: 55.77 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.2386, allocations: 47.77 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.2386, allocations: 16 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.2387, allocations: 12 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.2387, allocations: 27.92 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.2387, allocations: 59.66 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2389, allocations: 151.8 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2389, allocations: 7.938 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2389, allocations: 0 / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2389, allocations: 4 kB / 1.055 GB, free: 6.172 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.0004996/0.2394, allocations: 420.6 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.2395, allocations: 8.625 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.2395, allocations: 54.67 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.2395, allocations: 12.84 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2398, allocations: 212.8 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2398, allocations: 12.38 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.2398, allocations: 11.94 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.24, allocations: 101.6 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.24, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2401, allocations: 8 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2401, allocations: 0 / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2402, allocations: 67.95 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.2407, allocations: 408.3 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.241, allocations: 82.67 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.2411, allocations: 36.84 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2411, allocations: 7.938 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2411, allocations: 42.48 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2411, allocations: 3.938 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003158/0.2415, allocations: 113.6 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.2415, allocations: 63.39 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2416, allocations: 155.5 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2416, allocations: 29.7 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2417, allocations: 112.4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2417, allocations: 19.75 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2418, allocations: 29.7 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.2419, allocations: 318.8 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.242, allocations: 35.92 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.2421, allocations: 54.55 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2422, allocations: 52.84 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2422, allocations: 3.984 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002031/0.2424, allocations: 113.4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.2424, allocations: 8.031 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2424, allocations: 7.984 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.2425, allocations: 3.938 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.2425, allocations: 11.98 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2426, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.2426, allocations: 11.98 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2427, allocations: 288 / 1.057 GB, free: 3.352 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 8.025e-05/0.2427, allocations: 129.4 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.2428, allocations: 15.84 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.2428, allocations: 24.64 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2428, allocations: 0 / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2428, allocations: 0 / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2428, allocations: 0 / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.243, allocations: 213.5 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.243, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.2431, allocations: 15.92 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2431, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2431, allocations: 8 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2431, allocations: 7.984 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2431, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2434, allocations: 195.3 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.2434, allocations: 88.95 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2434, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2435, allocations: 7.984 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2436, allocations: 19.97 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2436, allocations: 4 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.2437, allocations: 118.3 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2437, allocations: 0 / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002213/0.2439, allocations: 23.91 kB / 1.058 GB, free: 2.406 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.0004297/0.2443, allocations: 0.7322 MB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2446, allocations: 75.95 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2446, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.2446, allocations: 39.98 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2449, allocations: 11.98 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2464, allocations: 1.671 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.2466, allocations: 0.708 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.2467, allocations: 4.672 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.2468, allocations: 35.42 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2468, allocations: 4.188 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8416/1.088, allocations: 2.444 MB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/1.089, allocations: 223.8 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.777, allocations: 0 / 1.064 GB, free: 12.46 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