Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.0009779/0.0009779, allocations: 76.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.001146/0.001146, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.878/0.878, allocations: 177.1 MB / 203.5 MB, free: 5.406 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.617/1.617, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.739e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001841/0.001869, allocations: 1.521 MB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003032, allocations: 0.7639 MB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.003099, allocations: 4 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.003137, allocations: 3.938 kB / 0.9539 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.003196, allocations: 11.81 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.003773, allocations: 151.4 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.003872, allocations: 79.66 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.003957, allocations: 16.16 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.00408, allocations: 39.97 kB / 0.9542 GB, free: 396 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.004131, allocations: 35.88 kB / 0.9543 GB, free: 360 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004149, allocations: 12 kB / 0.9543 GB, free: 348 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.004403, allocations: 139.7 kB / 0.9544 GB, free: 208 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.004424, allocations: 15.92 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.004457, allocations: 23.97 kB / 0.9544 GB, free: 168 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.004677, allocations: 175.5 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00468, allocations: 0 / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004681, allocations: 0 / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004684, allocations: 0 / 0.9546 GB, free: 15.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004422/0.005126, allocations: 351.4 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.00516, allocations: 8.031 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.005335, allocations: 32.88 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.0055, allocations: 137.6 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.005525, allocations: 4.375 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.005537, allocations: 4.375 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.005667, allocations: 74.19 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.005675, allocations: 192 / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005686, allocations: 8.125 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.00569, allocations: 0 / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.759e-05/0.005758, allocations: 39.97 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.006115, allocations: 244.5 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.006198, allocations: 50.48 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.006243, allocations: 24.97 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.006265, allocations: 7.938 kB / 0.9556 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.571e-05/0.006361, allocations: 75.38 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.006361, allocations: 4 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002665/0.006628, allocations: 145.6 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006663, allocations: 51.41 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.006733, allocations: 128.1 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006748, allocations: 33.7 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.006787, allocations: 84.14 kB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006805, allocations: 23.83 kB / 0.9561 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.00684, allocations: 21.72 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.006914, allocations: 322.8 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.006962, allocations: 31.92 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.007016, allocations: 50.55 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/0.007108, allocations: 74.8 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.00711, allocations: 0 / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001336/0.007244, allocations: 117.5 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007256, allocations: 8.062 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007261, allocations: 0 / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.007275, allocations: 11.98 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.007327, allocations: 8 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007331, allocations: 0 / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.007362, allocations: 11.94 kB / 0.9567 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.007371, allocations: 4 kB / 0.9567 GB, free: 13.64 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.571e-05/0.007437, allocations: 121.8 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.007447, allocations: 11.88 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.00747, allocations: 16.42 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007472, allocations: 0 / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007475, allocations: 0 / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007478, allocations: 0 / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.007748, allocations: 334 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007749, allocations: 0 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.007767, allocations: 4 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.00777, allocations: 0 / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.007778, allocations: 3.984 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.00778, allocations: 4 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007781, allocations: 0 / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.007936, allocations: 215.4 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.007947, allocations: 11.89 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.00796, allocations: 7.938 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.007999, allocations: 3.984 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.008031, allocations: 7.984 kB / 0.9574 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.008037, allocations: 7.938 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.008075, allocations: 102.4 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008075, allocations: 0 / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002017/0.008277, allocations: 39.94 kB / 0.9576 GB, free: 12.71 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.0002807/0.008558, allocations: 161.7 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.008713, allocations: 71.89 kB / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008715, allocations: 0 / 0.9578 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.008768, allocations: 36.11 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.008944, allocations: 11.92 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.009242, allocations: 199.7 kB / 0.958 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.009288, allocations: 75.27 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.009312, allocations: 12.5 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.009313, allocations: 0 / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of Templates: time 0.002394/0.01171, allocations: 1.68 MB / 0.9597 GB, free: 10.43 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.682037455961108]