Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.000909/0.000909, allocations: 91.84 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.007104/0.007104, allocations: 170 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.766/1.766, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 8.281 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6372, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001653/0.6389, allocations: 1.351 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.6403, allocations: 0.7754 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.6403, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.6404, allocations: 7.922 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.6405, allocations: 23.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.641, allocations: 127.7 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.6412, allocations: 151.5 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.6413, allocations: 13.12 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.6414, allocations: 59.83 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.6416, allocations: 71.72 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.6416, allocations: 8 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.6418, allocations: 95.84 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.6418, allocations: 31.88 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.6419, allocations: 77.42 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.6422, allocations: 197.7 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6422, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6422, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6422, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000695/0.6429, allocations: 0.5267 MB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.643, allocations: 8.031 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.643, allocations: 42.69 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.6431, allocations: 8.844 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.6432, allocations: 195.9 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6432, allocations: 12.38 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.6432, allocations: 4.375 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.6437, allocations: 157.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.6437, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.6437, allocations: 3.984 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6437, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.6442, allocations: 123.9 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.6449, allocations: 400.5 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.6453, allocations: 110.5 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.6456, allocations: 100.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.6456, allocations: 7.984 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.6461, allocations: 155.3 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6461, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001137/0.6472, allocations: 353.3 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.6472, allocations: 55.39 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6474, allocations: 145.3 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6474, allocations: 33.7 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.6475, allocations: 108.3 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.6475, allocations: 23.8 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6475, allocations: 25.7 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.6476, allocations: 322.8 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.6478, allocations: 47.97 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6479, allocations: 85.12 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.6482, allocations: 141 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6482, allocations: 4 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000365/0.6486, allocations: 173.8 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6486, allocations: 8.125 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.6486, allocations: 3.984 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6486, allocations: 4 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6488, allocations: 27.91 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6488, allocations: 4 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.6489, allocations: 19.83 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.6489, allocations: 7.938 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.857e-05/0.649, allocations: 132.4 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.6491, allocations: 7.906 kB / 1.029 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.6491, allocations: 16.7 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6491, allocations: 0 / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6491, allocations: 0 / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.6491, allocations: 0 / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.6501, allocations: 0.5529 MB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6501, allocations: 4 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.6502, allocations: 15.98 kB / 1.03 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6502, allocations: 4 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6502, allocations: 4 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6502, allocations: 3.938 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6502, allocations: 0 / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.651, allocations: 367.1 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.6511, allocations: 81.02 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.6511, allocations: 7.938 kB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.6513, allocations: 35.89 kB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.6514, allocations: 15.94 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6514, allocations: 3.984 kB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.6515, allocations: 112.5 kB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6515, allocations: 0 / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003026/0.6518, allocations: 47.94 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001289/0.6531, allocations: 0.9554 MB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.6536, allocations: 159.8 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6537, allocations: 0 / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.654, allocations: 112.1 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.6543, allocations: 12.22 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.6565, allocations: 1.855 MB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.6568, allocations: 0.7004 MB / 1.034 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.587e-05/0.6568, allocations: 8 kB / 1.034 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.6569, allocations: 35.36 kB / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6569, allocations: 0 / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.331/1.988, allocations: 3.075 MB / 1.037 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004426/1.988, allocations: 276.9 kB / 1.038 GB, free: 464 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/3.837, allocations: 2.031 kB / 1.038 GB, free: 464 kB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches