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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001313/0.001313, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001136/0.001136, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6038, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002301/0.6062, allocations: 1.671 MB / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.6071, allocations: 0.7981 MB / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.6072, allocations: 0 / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.6072, allocations: 9.297 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.6073, allocations: 18.55 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.6078, allocations: 136.9 kB / 0.9518 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.6079, allocations: 156.5 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.608, allocations: 26.78 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.6081, allocations: 63.42 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.123e-05/0.6082, allocations: 79.44 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.6083, allocations: 12.34 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.6084, allocations: 105.6 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.6085, allocations: 40.25 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.6085, allocations: 60.81 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.6087, allocations: 207.2 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6087, allocations: 0 / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6088, allocations: 0 / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.6088, allocations: 1.531 kB / 0.9525 GB, free: 6.605 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.0006341/0.6094, allocations: 0.5385 MB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6094, allocations: 9.812 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.6095, allocations: 37.47 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.6095, allocations: 10.59 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.6096, allocations: 192.2 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6096, allocations: 3.125 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.6097, allocations: 9.375 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.6101, allocations: 143.3 kB / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6101, allocations: 0 / 0.9534 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.6101, allocations: 7.984 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.6101, allocations: 1.281 kB / 0.9535 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.6105, allocations: 100.4 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.6111, allocations: 385.6 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.6115, allocations: 102.6 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.6117, allocations: 86.08 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.6118, allocations: 5.312 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.6121, allocations: 142 kB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.6121, allocations: 0 / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000987/0.6131, allocations: 307.2 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.6132, allocations: 60.67 kB / 0.9546 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.6133, allocations: 144 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6133, allocations: 28.02 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.6133, allocations: 104.6 kB / 0.9548 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.6133, allocations: 27.19 kB / 0.9549 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.6134, allocations: 30.67 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.6135, allocations: 326 kB / 0.9552 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.6136, allocations: 42.38 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.6137, allocations: 76.55 kB / 0.9553 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.6139, allocations: 133.9 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6139, allocations: 0 / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000302/0.6143, allocations: 164.2 kB / 0.9556 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.6143, allocations: 5.719 kB / 0.9556 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6143, allocations: 0.9688 kB / 0.9556 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6143, allocations: 2.156 kB / 0.9556 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6144, allocations: 18.08 kB / 0.9556 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6144, allocations: 6.234 kB / 0.9556 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6146, allocations: 19.31 kB / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.6146, allocations: 8.75 kB / 0.9557 GB, free: 3.855 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 7.088e-05/0.6146, allocations: 128.1 kB / 0.9558 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.6147, allocations: 12.12 kB / 0.9558 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.6147, allocations: 15.38 kB / 0.9558 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6147, allocations: 1.094 kB / 0.9558 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6147, allocations: 1.375 kB / 0.9558 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.6147, allocations: 0 / 0.9558 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.6155, allocations: 0.5183 MB / 0.9563 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6156, allocations: 0 / 0.9563 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.6156, allocations: 12.52 kB / 0.9563 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6156, allocations: 0.9062 kB / 0.9563 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6157, allocations: 14.58 kB / 0.9564 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6157, allocations: 7.938 kB / 0.9564 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6157, allocations: 0 / 0.9564 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.6163, allocations: 324.8 kB / 0.9567 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.6163, allocations: 88.02 kB / 0.9568 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.6164, allocations: 7 kB / 0.9568 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.6166, allocations: 23.41 kB / 0.9568 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.6166, allocations: 11.36 kB / 0.9568 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.6166, allocations: 7.266 kB / 0.9568 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.6167, allocations: 114.2 kB / 0.9569 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6167, allocations: 1.156 kB / 0.9569 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002886/0.617, allocations: 50.98 kB / 0.957 GB, free: 2.77 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.001013/0.618, allocations: 0.9229 MB / 0.9579 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.6185, allocations: 143.6 kB / 0.958 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6185, allocations: 3.938 kB / 0.958 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.6188, allocations: 88.83 kB / 0.9581 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.619, allocations: 21.58 kB / 0.9581 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.6208, allocations: 1.784 MB / 0.9599 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.621, allocations: 0.7078 MB / 0.9605 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.103e-05/0.621, allocations: 3.781 kB / 0.9605 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.6211, allocations: 31.58 kB / 0.9606 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6211, allocations: 0 / 0.9606 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.6523, allocations: 3.281 MB / 0.9638 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.6526, allocations: 275.7 kB / 0.964 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.39, allocations: 1.75 kB / 0.964 GB, free: 13.57 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