Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 209 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.956/2.956, allocations: 476.8 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 72.77 kB / 1.117 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003858/0.3406, allocations: 1.677 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3428, allocations: 0.9132 MB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.3429, allocations: 0 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.343, allocations: 7.875 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3431, allocations: 27.73 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.3441, allocations: 187.5 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.3444, allocations: 159.5 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3445, allocations: 17.31 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3448, allocations: 75.75 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.345, allocations: 79.72 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.345, allocations: 12 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.3454, allocations: 147.8 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.3454, allocations: 39.89 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3456, allocations: 63.66 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.346, allocations: 219.4 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.346, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.346, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.346, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 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.0009878/0.347, allocations: 488.3 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3471, allocations: 8.031 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.3471, allocations: 42.73 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.3479, allocations: 80.77 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.3482, allocations: 150.3 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.3482, allocations: 16.3 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3482, allocations: 8.375 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.3487, allocations: 137.7 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3487, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3487, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3487, allocations: 3.938 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.3491, allocations: 107.9 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.35, allocations: 355.6 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3503, allocations: 98.61 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3507, allocations: 88.72 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3507, allocations: 4.141 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.3511, allocations: 143.2 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3511, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.00121/0.3523, allocations: 309.3 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3524, allocations: 55.41 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3525, allocations: 154.9 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3526, allocations: 25.7 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.3526, allocations: 104.4 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3527, allocations: 27.78 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3528, allocations: 33.7 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3529, allocations: 326.8 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3531, allocations: 39.97 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.3532, allocations: 77.12 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3535, allocations: 121 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3535, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003839/0.3539, allocations: 165.4 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3539, allocations: 4 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3539, allocations: 8.031 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3539, allocations: 3.984 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3541, allocations: 19.98 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3541, allocations: 3.984 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3542, allocations: 11.95 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.3542, allocations: 16.03 kB / 1.29 GB, free: 4.629 MB / 0.9825 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.0001347/0.3544, allocations: 135.3 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3544, allocations: 7.953 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.3544, allocations: 12.72 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3544, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3544, allocations: 7.938 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3545, allocations: 3.984 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3556, allocations: 0.5051 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3556, allocations: 0 / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.3557, allocations: 11.98 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3557, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.3557, allocations: 11.98 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/0.3557, allocations: 7.938 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3557, allocations: 3.938 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.3565, allocations: 323.3 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.3565, allocations: 11.91 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3565, allocations: 8 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.3568, allocations: 23.91 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3568, allocations: 7.984 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3568, allocations: 7.984 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3569, allocations: 118.8 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3569, allocations: 0 / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003392/0.3573, allocations: 47.88 kB / 1.291 GB, free: 3.32 MB / 0.9825 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.001484/0.3588, allocations: 0.916 MB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.3593, allocations: 147.8 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3593, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.3596, allocations: 88.11 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3599, allocations: 10.56 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.3625, allocations: 1.797 MB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3629, allocations: 0.7002 MB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.922e-05/0.363, allocations: 16.66 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.363, allocations: 39.36 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.363, allocations: 3.938 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.3965, allocations: 3.733 MB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.64, allocations: 6.625 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.52492830110714]