Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.00106/0.00106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001611/0.001611, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9461/0.9461, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.263e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001939/0.001962, allocations: 1.519 MB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.002949, allocations: 0.76 MB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.003003, allocations: 0 / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.003031, allocations: 7.875 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.003079, allocations: 23.72 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.003585, allocations: 147.5 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.003685, allocations: 79.7 kB / 0.953 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.003771, allocations: 8.188 kB / 0.953 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.003903, allocations: 51.88 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.003952, allocations: 31.89 kB / 0.953 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003969, allocations: 8 kB / 0.9531 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.004152, allocations: 139.7 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004171, allocations: 15.92 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.004206, allocations: 23.97 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004406, allocations: 171.6 kB / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.004409, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004411, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.004416, allocations: 0 / 0.9534 GB, free: 0.5312 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004673/0.004883, allocations: 355.4 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004921, allocations: 8.031 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.004953, allocations: 38.75 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.005133, allocations: 36.8 kB / 0.9538 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.005325, allocations: 121.7 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.005344, allocations: 4.375 kB / 0.9539 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.005357, allocations: 16.34 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.005487, allocations: 66.22 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005494, allocations: 192 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.005506, allocations: 3.938 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.00551, allocations: 0 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.005584, allocations: 35.97 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.005975, allocations: 283.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.006062, allocations: 50.48 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.006108, allocations: 28.97 kB / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.006126, allocations: 0 / 0.9544 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.006231, allocations: 79.38 kB / 0.9545 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.006233, allocations: 3.938 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002594/0.006492, allocations: 137.6 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.006525, allocations: 59.41 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.006595, allocations: 122.1 kB / 0.9548 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006607, allocations: 25.7 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.006649, allocations: 92.22 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.006665, allocations: 19.88 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.006701, allocations: 25.72 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.006777, allocations: 322.8 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-05/0.006827, allocations: 27.98 kB / 0.9553 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.006882, allocations: 62.42 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.006972, allocations: 70.5 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006973, allocations: 0 / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.007106, allocations: 113.8 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.007117, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007123, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007134, allocations: 4.062 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.007195, allocations: 23.92 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.007199, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.007231, allocations: 15.88 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.007241, allocations: 4 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.276e-05/0.007303, allocations: 117.8 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.007313, allocations: 7.953 kB / 0.9557 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.007335, allocations: 8.438 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007338, allocations: 4 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.007344, allocations: 7.984 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007347, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.007633, allocations: 349.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007635, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.007653, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007655, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.007665, allocations: 3.984 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007666, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007667, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.007831, allocations: 223.3 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.00784, allocations: 7.938 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007852, allocations: 4 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.007892, allocations: 0 / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.007923, allocations: 11.92 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.007931, allocations: 7.938 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.007968, allocations: 102 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007968, allocations: 0 / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002048/0.008172, allocations: 39.92 kB / 0.9564 GB, free: 13.13 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0005483/0.008721, allocations: 0.8172 MB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.008869, allocations: 67.95 kB / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00887, allocations: 0 / 0.9573 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.008922, allocations: 32.39 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.009106, allocations: 24.05 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01015, allocations: 1.485 MB / 0.9588 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.0102, allocations: 79.27 kB / 0.9589 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.01023, allocations: 7.984 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.01028, allocations: 24.5 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.01028, allocations: 0 / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.02812, allocations: 3.394 MB / 0.9622 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.863, allocations: 10.89 kB / 0.9622 GB, free: 7.234 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: 10.949859923683107]