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.0008698/0.0008698, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001348/0.001348, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8808/0.8808, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.657e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002004/0.00202, allocations: 1.634 MB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003105, allocations: 0.8456 MB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.199e-05/0.003187, allocations: 7.938 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.003224, allocations: 11.86 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.003285, allocations: 19.8 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.003909, allocations: 195.2 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.004062, allocations: 163.5 kB / 0.9533 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.004158, allocations: 13.3 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004329, allocations: 95.84 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.004408, allocations: 67.84 kB / 0.9535 GB, free: 456 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004433, allocations: 12 kB / 0.9535 GB, free: 444 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.004642, allocations: 143.7 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.004673, allocations: 43.81 kB / 0.9536 GB, free: 256 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.004719, allocations: 43.89 kB / 0.9537 GB, free: 212 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.004988, allocations: 243.3 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00499, allocations: 0 / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004992, allocations: 7.938 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.004997, allocations: 0 / 0.9539 GB, free: 15.96 MB / 0.9167 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.0006376/0.005635, allocations: 496.2 kB / 0.9544 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.005669, allocations: 8.031 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.005703, allocations: 38.69 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.006027, allocations: 72.81 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.006208, allocations: 157.6 kB / 0.9547 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.006227, allocations: 4.375 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.006248, allocations: 8.375 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.006502, allocations: 138.1 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.006509, allocations: 192 / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.006522, allocations: 4.125 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006527, allocations: 8 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.006729, allocations: 107.8 kB / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.007221, allocations: 327.7 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.007506, allocations: 94.5 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.007658, allocations: 80.78 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.00768, allocations: 8.109 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.007919, allocations: 147.3 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.00792, allocations: 0 / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0006289/0.008549, allocations: 317.3 kB / 0.9559 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.008584, allocations: 51.41 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.008679, allocations: 158 kB / 0.9561 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.008695, allocations: 33.7 kB / 0.9561 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.008758, allocations: 104.3 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.00878, allocations: 23.8 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.008821, allocations: 29.7 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.008908, allocations: 326.8 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.00898, allocations: 40.34 kB / 0.9566 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.009075, allocations: 85.05 kB / 0.9567 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.009238, allocations: 125 kB / 0.9568 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00924, allocations: 0 / 0.9568 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002049/0.009445, allocations: 169.4 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.009457, allocations: 4 kB / 0.957 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009463, allocations: 4 kB / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.009474, allocations: 0 / 0.957 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.009553, allocations: 19.98 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.009561, allocations: 3.938 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.009611, allocations: 15.98 kB / 0.957 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009621, allocations: 4 kB / 0.957 GB, free: 12.56 MB / 0.9167 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.607e-05/0.009697, allocations: 129.8 kB / 0.9571 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.009713, allocations: 15.89 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.009741, allocations: 12.78 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009743, allocations: 0 / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.009748, allocations: 0 / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009751, allocations: 4 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.01031, allocations: 497.3 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01031, allocations: 0 / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.01034, allocations: 15.92 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01035, allocations: 0 / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01036, allocations: 7.984 kB / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01036, allocations: 0 / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01036, allocations: 0 / 0.9576 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.01074, allocations: 343.2 kB / 0.958 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.01076, allocations: 15.98 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01078, allocations: 3.984 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.01087, allocations: 27.97 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.01092, allocations: 7.984 kB / 0.958 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01093, allocations: 11.92 kB / 0.958 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.01098, allocations: 113 kB / 0.9581 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01098, allocations: 4.188 kB / 0.9582 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002429/0.01123, allocations: 47.88 kB / 0.9582 GB, free: 11.25 MB / 0.9167 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.0009987/0.01222, allocations: 0.9356 MB / 0.9591 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.01252, allocations: 147.8 kB / 0.9593 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01252, allocations: 0 / 0.9593 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.01268, allocations: 84.17 kB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01288, allocations: 12.22 kB / 0.9593 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.01432, allocations: 1.787 MB / 0.9611 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.01438, allocations: 89.31 kB / 0.9612 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01442, allocations: 8.734 kB / 0.9612 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.01448, allocations: 40.47 kB / 0.9612 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.01448, allocations: 0 / 0.9612 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.02997, allocations: 4.333 MB / 0.9655 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.146, allocations: 12.03 kB / 0.9655 GB, free: 3.82 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.02256748918444]