Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.0007985/0.0007985, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008338/0.0008338, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9025/0.9025, allocations: 177.1 MB / 203.5 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.632/1.632, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.787e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002607/0.002635, allocations: 1.514 MB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.003543, allocations: 0.76 MB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.003592, allocations: 7.938 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.003616, allocations: 7.875 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.003658, allocations: 15.86 kB / 0.954 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.004096, allocations: 143.4 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.004191, allocations: 83.69 kB / 0.9542 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.004274, allocations: 8.188 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004382, allocations: 51.88 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.004427, allocations: 31.95 kB / 0.9543 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004443, allocations: 4 kB / 0.9543 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.004609, allocations: 135.7 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.004629, allocations: 23.91 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.00466, allocations: 15.98 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004853, allocations: 179.4 kB / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.004857, allocations: 4 kB / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004858, allocations: 0 / 0.9546 GB, free: 24 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004862, allocations: 0 / 0.9546 GB, free: 24 kB / 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.0004436/0.005306, allocations: 357.6 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.005338, allocations: 11.97 kB / 0.955 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.005512, allocations: 32.86 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.00568, allocations: 129.7 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005696, allocations: 384 / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.005706, allocations: 4.375 kB / 0.9551 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.00582, allocations: 70.22 kB / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005827, allocations: 4.188 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005837, allocations: 8.109 kB / 0.9552 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.005843, allocations: 4 kB / 0.9552 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.00591, allocations: 31.98 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.00623, allocations: 256.4 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.006302, allocations: 42.56 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.006346, allocations: 28.97 kB / 0.9556 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.006364, allocations: 3.938 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.417e-05/0.006458, allocations: 83.38 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.006459, allocations: 0 / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002331/0.006692, allocations: 137.6 kB / 0.9558 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.006721, allocations: 59.39 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.006783, allocations: 125 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.006796, allocations: 29.7 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.006832, allocations: 92.12 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.006848, allocations: 19.84 kB / 0.9561 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.00688, allocations: 33.64 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.006951, allocations: 318.8 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.006997, allocations: 23.98 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.007047, allocations: 46.56 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.007138, allocations: 82.78 kB / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00714, allocations: 0 / 0.9566 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001311/0.007271, allocations: 121.5 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.007281, allocations: 4 kB / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.007285, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.007294, allocations: 0 / 0.9567 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.007345, allocations: 23.98 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007348, allocations: 0 / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.007376, allocations: 7.953 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.007385, allocations: 8 kB / 0.9567 GB, free: 13.67 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 5.66e-05/0.007442, allocations: 117.8 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.00745, allocations: 11.88 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.007469, allocations: 8.438 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.007472, allocations: 4 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007474, allocations: 0 / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.007477, allocations: 4 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.007725, allocations: 326 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007726, allocations: 0 / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.007741, allocations: 7.984 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007742, allocations: 0 / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.007749, allocations: 4 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.00775, allocations: 0 / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007751, allocations: 0 / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.007897, allocations: 223.3 kB / 0.9574 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.007904, allocations: 15.89 kB / 0.9574 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.007914, allocations: 4 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.007954, allocations: 7.984 kB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.007984, allocations: 7.984 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.007991, allocations: 4 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.008024, allocations: 99.27 kB / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.008024, allocations: 0 / 0.9575 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001848/0.008209, allocations: 39.92 kB / 0.9576 GB, free: 12.74 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.0002367/0.008446, allocations: 166.3 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.008578, allocations: 71.89 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00858, allocations: 0 / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.008631, allocations: 35.97 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.008798, allocations: 8.484 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.009072, allocations: 207.2 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.009114, allocations: 75.89 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.009137, allocations: 12.5 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.009137, allocations: 0 / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.00229/0.01143, allocations: 1.67 MB / 0.9597 GB, free: 10.46 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: 6.765154323540628]