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.001586/0.001586, 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.001895/0.001895, allocations: 192.9 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.229/2.229, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.88 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5307, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002094/0.5328, allocations: 1.62 MB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009743/0.5338, allocations: 0.7992 MB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.5338, allocations: 0 / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.5339, allocations: 7.875 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.534, allocations: 31.03 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.5344, allocations: 149.3 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.5345, allocations: 156.4 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.5346, allocations: 26 kB / 0.9524 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.5347, allocations: 68.53 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.5348, allocations: 75.42 kB / 0.9526 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.5349, allocations: 12.72 kB / 0.9526 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.535, allocations: 100.9 kB / 0.9527 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.5351, allocations: 40.06 kB / 0.9527 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.5351, allocations: 58.44 kB / 0.9528 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.5353, allocations: 208.4 kB / 0.953 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5354, allocations: 0 / 0.953 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5354, allocations: 4 kB / 0.953 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5354, allocations: 0 / 0.953 GB, free: 6.695 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.0005792/0.536, allocations: 0.5317 MB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.536, allocations: 14.02 kB / 0.9535 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.536, allocations: 36.97 kB / 0.9535 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.5361, allocations: 9.75 kB / 0.9536 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.471e-05/0.5361, allocations: 195.2 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.5362, allocations: 7.844 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.5362, allocations: 8.75 kB / 0.9538 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.5366, allocations: 143.2 kB / 0.9539 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5366, allocations: 0 / 0.9539 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5366, allocations: 5.453 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5366, allocations: 1.312 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.537, allocations: 102.9 kB / 0.954 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.5377, allocations: 385 kB / 0.9544 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.538, allocations: 96.16 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.5383, allocations: 90.39 kB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.5383, allocations: 5.609 kB / 0.9546 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.5387, allocations: 136.5 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.5387, allocations: 5.312 kB / 0.9547 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0009898/0.5397, allocations: 301.6 kB / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5397, allocations: 54.16 kB / 0.955 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.5398, allocations: 148.4 kB / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5398, allocations: 31.05 kB / 0.9552 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.5399, allocations: 108.5 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.5399, allocations: 15.38 kB / 0.9553 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.5399, allocations: 30.77 kB / 0.9553 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.54, allocations: 333.9 kB / 0.9557 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.5401, allocations: 38.09 kB / 0.9557 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.5402, allocations: 83.83 kB / 0.9558 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.5405, allocations: 126 kB / 0.9559 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5405, allocations: 3.938 kB / 0.9559 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003063/0.5408, allocations: 163.5 kB / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5408, allocations: 7.156 kB / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5408, allocations: 2.156 kB / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5408, allocations: 2.281 kB / 0.9561 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.541, allocations: 21.55 kB / 0.9561 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.541, allocations: 2.281 kB / 0.9561 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.5411, allocations: 19.27 kB / 0.9561 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.5411, allocations: 12.16 kB / 0.9561 GB, free: 3.949 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.559e-05/0.5412, allocations: 124.7 kB / 0.9562 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.5412, allocations: 13.28 kB / 0.9563 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.5413, allocations: 10 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5413, allocations: 1.25 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5413, allocations: 1.656 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5413, allocations: 4 kB / 0.9563 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.5421, allocations: 0.526 MB / 0.9568 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5421, allocations: 0 / 0.9568 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.5422, allocations: 17.2 kB / 0.9568 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5422, allocations: 0 / 0.9568 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5422, allocations: 5.484 kB / 0.9568 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5423, allocations: 9.438 kB / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5423, allocations: 0 / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.5429, allocations: 324.7 kB / 0.9571 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.543, allocations: 92.64 kB / 0.9572 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.543, allocations: 1.781 kB / 0.9572 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.5432, allocations: 24.5 kB / 0.9572 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.5433, allocations: 15.55 kB / 0.9573 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5433, allocations: 1.812 kB / 0.9573 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.5433, allocations: 112.2 kB / 0.9574 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5433, allocations: 0 / 0.9574 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003014/0.5437, allocations: 51.45 kB / 0.9574 GB, free: 2.867 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.00103/0.5447, allocations: 0.9354 MB / 0.9583 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.5452, allocations: 144.6 kB / 0.9585 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5452, allocations: 256 / 0.9585 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.5455, allocations: 92.67 kB / 0.9586 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.5458, allocations: 17.36 kB / 0.9586 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5475, allocations: 1.764 MB / 0.9603 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.5477, allocations: 0.702 MB / 0.961 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.5477, allocations: 4.438 kB / 0.961 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.5478, allocations: 31.83 kB / 0.961 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5478, allocations: 0 / 0.961 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9614/1.509, allocations: 3.433 MB / 0.9644 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/10.12, allocations: 7.438 kB / 0.9644 GB, free: 13.89 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