Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.0008372/0.0008372, 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.0009119/0.0009119, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8903/0.8903, allocations: 177.1 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.683/1.683, allocations: 359 MB / 0.6037 GB, free: 11.09 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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.105e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002881/0.002902, allocations: 1.521 MB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.004299, allocations: 0.7639 MB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.004364, allocations: 4 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.0044, allocations: 3.938 kB / 0.9527 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.004467, allocations: 19.8 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.00516, allocations: 139.5 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.005298, allocations: 79.69 kB / 0.9529 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.005394, allocations: 8.188 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.005565, allocations: 55.88 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.005632, allocations: 31.89 kB / 0.953 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.005652, allocations: 8 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.005928, allocations: 135.7 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.005955, allocations: 23.91 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.006, allocations: 19.98 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.006267, allocations: 167.5 kB / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.00627, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006271, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.006275, allocations: 3.938 kB / 0.9534 GB, free: 0.5117 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.0005841/0.006859, allocations: 363.4 kB / 0.9537 GB, free: 124 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.006903, allocations: 12.03 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.006945, allocations: 30.75 kB / 0.9538 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.007216, allocations: 36.86 kB / 0.9538 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.00742, allocations: 126.6 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.007444, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.007459, allocations: 4.375 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.007631, allocations: 70.22 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.00764, allocations: 192 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.007654, allocations: 3.938 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.007659, allocations: 0 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.007769, allocations: 47.91 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.008245, allocations: 271.8 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.008334, allocations: 50.48 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.008381, allocations: 28.97 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.0084, allocations: 4 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.008505, allocations: 79.31 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.008506, allocations: 0 / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002586/0.008765, allocations: 141.6 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.008798, allocations: 51.41 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.008871, allocations: 124.3 kB / 0.9548 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.008885, allocations: 33.7 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.008921, allocations: 84.14 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.008938, allocations: 19.97 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.008973, allocations: 29.7 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.009045, allocations: 330.7 kB / 0.9552 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.009088, allocations: 23.92 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.009142, allocations: 54.53 kB / 0.9553 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.00924, allocations: 70.86 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.009242, allocations: 0 / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001322/0.009375, allocations: 121.6 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.009386, allocations: 7.984 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.009391, allocations: 3.938 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.009402, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.009452, allocations: 8 kB / 0.9555 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009457, allocations: 4 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.009489, allocations: 15.88 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.009501, allocations: 8 kB / 0.9555 GB, free: 14.07 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.009e-05/0.009561, allocations: 117.8 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.00957, allocations: 11.98 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.009591, allocations: 16.42 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009593, allocations: 3.938 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009597, allocations: 0 / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.0096, allocations: 3.938 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.009875, allocations: 341.6 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009876, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.009894, allocations: 7.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009896, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.009903, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009906, allocations: 8 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009907, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01007, allocations: 219.3 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.01008, allocations: 7.953 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01009, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.01013, allocations: 11.94 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.01016, allocations: 3.984 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.01017, allocations: 7.938 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.0102, allocations: 95.27 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.0102, allocations: 8 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001879/0.01039, allocations: 39.92 kB / 0.9564 GB, free: 13.11 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.0004772/0.01086, allocations: 0.8109 MB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.011, allocations: 68.27 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.011, allocations: 8.062 kB / 0.9573 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.01105, allocations: 28.14 kB / 0.9573 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.01122, allocations: 20.06 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.01221, allocations: 1.489 MB / 0.9588 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01225, allocations: 75.34 kB / 0.9588 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.01228, allocations: 11.97 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.01232, allocations: 16.5 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.01232, allocations: 0 / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.02654, allocations: 3.407 MB / 0.9622 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.98, allocations: 5.375 kB / 0.9622 GB, free: 7.188 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.991390275768936]