Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_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.001564/0.001564, allocations: 108 kB / 15.6 MB, free: 132 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.001916/0.001916, allocations: 194 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 62.89 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2563, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00269/0.259, allocations: 1.649 MB / 1.055 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2603, allocations: 0.791 MB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.2604, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.2604, allocations: 15.86 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.2605, allocations: 23.78 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.2611, allocations: 151.5 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.2612, allocations: 151.6 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.2613, allocations: 25.11 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.2614, allocations: 71.75 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.2615, allocations: 71.73 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.2616, allocations: 12 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.2618, allocations: 107.8 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.2618, allocations: 35.89 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.2619, allocations: 63.64 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.2622, allocations: 207.7 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2622, allocations: 0 / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2622, allocations: 4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.2622, allocations: 0 / 1.056 GB, free: 4.926 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007109/0.2629, allocations: 0.5368 MB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.263, allocations: 8.625 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.263, allocations: 42.73 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.263, allocations: 8.844 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2632, allocations: 186.2 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2632, allocations: 8.312 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.2632, allocations: 16.36 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.2637, allocations: 133.7 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2637, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2637, allocations: 4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2637, allocations: 4 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.2641, allocations: 103.9 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.2648, allocations: 384.5 kB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.2652, allocations: 102.5 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.2655, allocations: 84.78 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2655, allocations: 4.109 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.2659, allocations: 143.2 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.266, allocations: 4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001095/0.2671, allocations: 309.3 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.2671, allocations: 51.41 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2672, allocations: 157.6 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2673, allocations: 29.7 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.2673, allocations: 100.4 kB / 1.059 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2674, allocations: 28.17 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.2674, allocations: 33.7 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2675, allocations: 326.8 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2677, allocations: 35.97 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2678, allocations: 85.05 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2681, allocations: 121 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2681, allocations: 4 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003626/0.2685, allocations: 153.4 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2685, allocations: 11.98 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2685, allocations: 3.938 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2685, allocations: 0 / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2687, allocations: 19.98 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2687, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2688, allocations: 20.02 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2688, allocations: 7.938 kB / 1.059 GB, free: 1.414 MB / 0.8106 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 0.000102/0.2689, allocations: 123.3 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.269, allocations: 7.906 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.269, allocations: 20.7 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.269, allocations: 0 / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.269, allocations: 4 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.269, allocations: 0 / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009758/0.27, allocations: 0.5216 MB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.27, allocations: 0 / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.2701, allocations: 19.98 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2701, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2701, allocations: 7.984 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2701, allocations: 3.938 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2701, allocations: 0 / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.2709, allocations: 327.1 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.271, allocations: 92.94 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.271, allocations: 4 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2712, allocations: 23.91 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.2713, allocations: 12.27 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2713, allocations: 7.984 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.2714, allocations: 115.2 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2714, allocations: 0 / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003213/0.2717, allocations: 47.98 kB / 1.061 GB, free: 15.99 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: 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.001215/0.2729, allocations: 0.9163 MB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005125/0.2734, allocations: 143.8 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2735, allocations: 352 / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.2738, allocations: 95.8 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.2741, allocations: 11.94 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.2761, allocations: 1.769 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2764, allocations: 0.6924 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.2765, allocations: 11.92 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.2765, allocations: 31.42 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2765, allocations: 3.938 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2939, allocations: 3.444 MB / 1.068 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.233, allocations: 5.875 kB / 1.068 GB, free: 8.867 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches