Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.0009772/0.0009772, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001718/0.001718, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9443/0.9443, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.784/1.784, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.252e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.005317/0.00534, allocations: 1.54 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.006544, allocations: 0.7814 MB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.006603, allocations: 3.938 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.006631, allocations: 8.438 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.006685, allocations: 12.84 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.007175, allocations: 144.4 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.007276, allocations: 83.7 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/0.007345, allocations: 4.188 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.01049, allocations: 56.53 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.01054, allocations: 29.48 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.01056, allocations: 8 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.01079, allocations: 143.6 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.01081, allocations: 19.92 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.01084, allocations: 29.5 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.01108, allocations: 143.6 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01108, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01108, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.01109, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 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.000447/0.01153, allocations: 453.3 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01157, allocations: 8.031 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.01179, allocations: 36.86 kB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.01192, allocations: 128.5 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.01194, allocations: 4.375 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.01195, allocations: 8.359 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.01206, allocations: 71.64 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.01206, allocations: 192 / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.01207, allocations: 12.7 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01208, allocations: 1.312 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.01211, allocations: 8 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.01245, allocations: 281 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.0125, allocations: 44.11 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.01253, allocations: 15.67 kB / 0.7915 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.01255, allocations: 8.125 kB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/0.01262, allocations: 65.73 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.01262, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001969/0.01282, allocations: 102.2 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.01285, allocations: 60.69 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.01293, allocations: 184.8 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.01294, allocations: 25.7 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.01299, allocations: 138.8 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.01301, allocations: 20.42 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01312, allocations: 36.69 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.01323, allocations: 0.4923 MB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.01325, allocations: 4 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.01329, allocations: 39.05 kB / 0.7926 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.01443, allocations: 56.5 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01443, allocations: 0 / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001056/0.01454, allocations: 92.22 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.01455, allocations: 4 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01456, allocations: 0 / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01457, allocations: 4 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.01463, allocations: 11.98 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.01463, allocations: 400 / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.01466, allocations: 11.95 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01467, allocations: 9.469 kB / 0.7928 GB, free: 6.582 MB / 0.7448 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.256e-05/0.01473, allocations: 164.5 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.01475, allocations: 12.39 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.01477, allocations: 12.42 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01477, allocations: 0.5625 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01477, allocations: 1.375 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01477, allocations: 0 / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.01499, allocations: 333.9 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01499, allocations: 0 / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.01501, allocations: 4.609 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01501, allocations: 5.969 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.01501, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01502, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01502, allocations: 3.938 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.01513, allocations: 243.8 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.01514, allocations: 7.953 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.01515, allocations: 0.5312 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.01519, allocations: 4.719 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.01522, allocations: 7.922 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01524, allocations: 8.5 kB / 0.7936 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.01528, allocations: 132.2 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001852/0.01547, allocations: 39.92 kB / 0.7938 GB, free: 5.566 MB / 0.7448 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.0002713/0.01574, allocations: 184.5 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.01583, allocations: 51.58 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01584, allocations: 0 / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.01586, allocations: 23.67 kB / 0.794 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01603, allocations: 12.97 kB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.0165, allocations: 187.8 kB / 0.7942 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.01653, allocations: 60.97 kB / 0.7943 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.01656, allocations: 4 kB / 0.7943 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01661, allocations: 78.19 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01661, allocations: 0.7812 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.004662/0.02127, allocations: 1.68 MB / 0.796 GB, free: 3.273 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.917208349797875]