Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_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.0008988/0.000899, allocations: 91.53 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.005438/0.005438, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.352/1.352, 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 9.1.2-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5749, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001389/0.5763, allocations: 1.348 MB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.5773, allocations: 0.7852 MB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.5774, allocations: 1.438 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.5774, allocations: 3.938 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.5775, allocations: 27.03 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.5779, allocations: 122.9 kB / 0.9574 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.578, allocations: 151.6 kB / 0.9575 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.5781, allocations: 25.75 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.5782, allocations: 51.44 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.5783, allocations: 71.19 kB / 0.9577 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.5783, allocations: 5.5 kB / 0.9577 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.5785, allocations: 96.97 kB / 0.9578 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.5785, allocations: 32.62 kB / 0.9578 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.5786, allocations: 78.14 kB / 0.9579 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.5788, allocations: 198.2 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5788, allocations: 1.469 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5788, allocations: 4 kB / 0.9581 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.5788, allocations: 0 / 0.9581 GB, free: 5.379 MB / 0.7169 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.0005627/0.5794, allocations: 0.5222 MB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5794, allocations: 10.25 kB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.5795, allocations: 31.97 kB / 0.9586 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5795, allocations: 18.53 kB / 0.9586 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.5796, allocations: 186.7 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.5796, allocations: 7.938 kB / 0.9588 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.5797, allocations: 5.094 kB / 0.9588 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.5801, allocations: 166.5 kB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5801, allocations: 0 / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.5801, allocations: 4 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5801, allocations: 1.812 kB / 0.959 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.5805, allocations: 127.2 kB / 0.9591 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.5812, allocations: 393.1 kB / 0.9595 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.5815, allocations: 113.6 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.5818, allocations: 105.2 kB / 0.9597 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5819, allocations: 1.375 kB / 0.9597 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.5823, allocations: 167.7 kB / 0.9599 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.5823, allocations: 0 / 0.9599 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001093/0.5834, allocations: 348.8 kB / 0.9602 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.5834, allocations: 53.69 kB / 0.9603 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.5835, allocations: 145.2 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5835, allocations: 38.5 kB / 0.9604 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.5835, allocations: 100.4 kB / 0.9605 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.5836, allocations: 27.58 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.5836, allocations: 17.47 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.5836, allocations: 325.7 kB / 0.9609 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5838, allocations: 49.41 kB / 0.9609 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5839, allocations: 90.8 kB / 0.961 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.5842, allocations: 135.4 kB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5842, allocations: 1.484 kB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003252/0.5845, allocations: 183.9 kB / 0.9613 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5845, allocations: 5.5 kB / 0.9613 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5845, allocations: 1.375 kB / 0.9613 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5846, allocations: 2.75 kB / 0.9613 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.5847, allocations: 20.52 kB / 0.9613 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.5847, allocations: 6.125 kB / 0.9614 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5848, allocations: 22.45 kB / 0.9614 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5848, allocations: 12.44 kB / 0.9614 GB, free: 2.625 MB / 0.7169 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 6.936e-05/0.5849, allocations: 119.8 kB / 0.9615 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.5849, allocations: 8.875 kB / 0.9615 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.585, allocations: 16.33 kB / 0.9615 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.585, allocations: 0 / 0.9615 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.585, allocations: 0.8438 kB / 0.9615 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.585, allocations: 0 / 0.9615 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.5859, allocations: 0.5615 MB / 0.9621 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5859, allocations: 0 / 0.9621 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.586, allocations: 23.61 kB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.586, allocations: 1 kB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.586, allocations: 4.953 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.586, allocations: 5.062 kB / 0.9621 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.586, allocations: 0 / 0.9621 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.5868, allocations: 361.3 kB / 0.9625 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.5868, allocations: 88 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.5868, allocations: 1.969 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.587, allocations: 34.91 kB / 0.9626 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.5871, allocations: 11.55 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.5871, allocations: 3.281 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.5872, allocations: 110.9 kB / 0.9627 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5872, allocations: 1.062 kB / 0.9627 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003253/0.5875, allocations: 51.67 kB / 0.9627 GB, free: 1.539 MB / 0.7169 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.001107/0.5886, allocations: 0.962 MB / 0.9637 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5892, allocations: 167.7 kB / 0.9638 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5892, allocations: 1.375 kB / 0.9638 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.5895, allocations: 102.3 kB / 0.9639 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5898, allocations: 15.39 kB / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5918, allocations: 1.847 MB / 0.9658 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5921, allocations: 0.703 MB / 0.9664 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.951e-05/0.5921, allocations: 4.594 kB / 0.9664 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.5922, allocations: 35.12 kB / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.5922, allocations: 0 / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.6052, allocations: 3.08 MB / 0.9695 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.6054, allocations: 271.5 kB / 0.9697 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.248, allocations: 5.031 kB / 0.9698 GB, free: 12.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches