Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001139/0.001139, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008522/0.008522, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.559/2.559, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 10.47 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2445, allocations: 159.6 MB / 1.059 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0009535/0.2455, allocations: 0.5299 MB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.247, allocations: 1.166 MB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.247, allocations: 0 / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.2471, allocations: 3.938 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.2471, allocations: 7.938 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.2476, allocations: 133.9 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.2477, allocations: 123.8 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2478, allocations: 31.98 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.2479, allocations: 43.84 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.248, allocations: 43.81 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.248, allocations: 8 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.2481, allocations: 23.92 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2481, allocations: 11.92 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.2482, allocations: 73.53 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2484, allocations: 135.8 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2484, allocations: 7.938 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.868e-06/0.2484, allocations: 4 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2484, allocations: 0 / 1.061 GB, free: 2.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005296/0.249, allocations: 409 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.249, allocations: 11.97 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.249, allocations: 42.73 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.2491, allocations: 12.84 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2492, allocations: 172.3 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2492, allocations: 8.375 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.2493, allocations: 12.36 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.2495, allocations: 94.16 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2495, allocations: 3.938 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2495, allocations: 4 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2495, allocations: 4 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.2498, allocations: 67.95 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2503, allocations: 396.4 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2504, allocations: 54.55 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2505, allocations: 40.92 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.2506, allocations: 0 / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.2508, allocations: 91.31 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2508, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004163/0.2512, allocations: 145.5 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2512, allocations: 59.39 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.2513, allocations: 121.8 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2514, allocations: 37.64 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.2515, allocations: 100 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2515, allocations: 15.81 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.2515, allocations: 21.7 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.2516, allocations: 314.8 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2518, allocations: 55.95 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.252, allocations: 95.31 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.2522, allocations: 128.3 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2523, allocations: 0 / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004221/0.2527, allocations: 207.2 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.2527, allocations: 33.69 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2527, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2528, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.2528, allocations: 19.92 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2529, allocations: 4.031 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2531, allocations: 61.77 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2531, allocations: 7.984 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.19e-05/0.2532, allocations: 125.8 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.2533, allocations: 11.91 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2533, allocations: 8.375 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2533, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2533, allocations: 3.938 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2533, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2535, allocations: 189.6 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2535, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.2535, allocations: 15.92 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2536, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2536, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2536, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2536, allocations: 7.938 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.2539, allocations: 133 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2539, allocations: 77.11 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2539, allocations: 12 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.254, allocations: 11.98 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.2541, allocations: 11.92 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.2541, allocations: 12.3 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.2541, allocations: 91.28 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002137/0.2543, allocations: 31.89 kB / 1.065 GB, free: 14.56 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0005272/0.2549, allocations: 0.6749 MB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.2553, allocations: 183.3 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2553, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.2554, allocations: 36.11 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.2556, allocations: 19.92 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.2574, allocations: 1.636 MB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2577, allocations: 0.6926 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.2577, allocations: 7.984 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.2578, allocations: 19.44 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.2578, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/1.327, allocations: 2.438 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.327, allocations: 222.1 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/3.251, allocations: 4.938 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches