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.002031/0.002031, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002446/0.002446, allocations: 158.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.78/2.78, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.394e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003485/0.003519, allocations: 1.516 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.005407, allocations: 0.7679 MB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.005498, allocations: 0 / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.005543, allocations: 3.938 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.005616, allocations: 19.81 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.006467, allocations: 147.4 kB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.006666, allocations: 83.7 kB / 0.9534 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.006806, allocations: 8.172 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.007014, allocations: 47.95 kB / 0.9535 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.007094, allocations: 31.83 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.007119, allocations: 8 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.007472, allocations: 135.7 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.007517, allocations: 19.91 kB / 0.9537 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.007567, allocations: 19.98 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.00795, allocations: 183.4 kB / 0.9539 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.007955, allocations: 0 / 0.9539 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007956, allocations: 0 / 0.9539 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.007968, allocations: 0 / 0.9539 GB, free: 8.602 MB / 0.8575 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.0008081/0.008776, allocations: 351.5 kB / 0.9542 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.008825, allocations: 12.03 kB / 0.9542 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.009205, allocations: 28.88 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.009651, allocations: 137.6 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.009674, allocations: 8.375 kB / 0.9544 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.009697, allocations: 4.375 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.009928, allocations: 66.22 kB / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.009939, allocations: 192 / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.009954, allocations: 4.125 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.009959, allocations: 0 / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.01011, allocations: 43.91 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.01088, allocations: 240.5 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.01104, allocations: 46.55 kB / 0.9548 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.01113, allocations: 32.97 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01116, allocations: 3.938 kB / 0.9548 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.01134, allocations: 79.31 kB / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.01134, allocations: 0 / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004695/0.01181, allocations: 145.7 kB / 0.955 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.01187, allocations: 59.41 kB / 0.9551 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.01201, allocations: 128.1 kB / 0.9552 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.01204, allocations: 25.7 kB / 0.9552 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.01211, allocations: 92.14 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.01214, allocations: 15.83 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.01221, allocations: 25.72 kB / 0.9553 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.01241, allocations: 326.8 kB / 0.9557 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.01251, allocations: 27.92 kB / 0.9557 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01262, allocations: 50.55 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.0128, allocations: 70.88 kB / 0.9558 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0128, allocations: 0 / 0.9558 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002842/0.01309, allocations: 121.5 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.01311, allocations: 8 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01312, allocations: 3.938 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01314, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01325, allocations: 20.05 kB / 0.9559 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01326, allocations: 4 kB / 0.9559 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.01333, allocations: 11.98 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01335, allocations: 0 / 0.956 GB, free: 6.254 MB / 0.8575 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 0.000129/0.01347, allocations: 117.8 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.0135, allocations: 15.83 kB / 0.9561 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.01353, allocations: 12.42 kB / 0.9561 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01353, allocations: 0 / 0.9561 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.01354, allocations: 3.984 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01354, allocations: 7.938 kB / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/0.01406, allocations: 322.1 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01406, allocations: 0 / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.01411, allocations: 4 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01411, allocations: 0 / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01412, allocations: 0 / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.01413, allocations: 7.984 kB / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01413, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.01449, allocations: 219.3 kB / 0.9566 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01451, allocations: 15.89 kB / 0.9566 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01453, allocations: 0 / 0.9566 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.01463, allocations: 15.92 kB / 0.9567 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01468, allocations: 3.984 kB / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01469, allocations: 4 kB / 0.9567 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.01477, allocations: 91.27 kB / 0.9568 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01477, allocations: 4 kB / 0.9568 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003485/0.01511, allocations: 35.94 kB / 0.9568 GB, free: 5.328 MB / 0.8575 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.0004919/0.01561, allocations: 169.9 kB / 0.957 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.01589, allocations: 67.89 kB / 0.957 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01589, allocations: 0 / 0.957 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01601, allocations: 31.92 kB / 0.9571 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.01639, allocations: 17.64 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.01688, allocations: 174.2 kB / 0.9572 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.358e-05/0.01697, allocations: 71.33 kB / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01701, allocations: 4 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01705, allocations: 16.48 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.01705, allocations: 0 / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.005732/0.02278, allocations: 1.494 MB / 0.9588 GB, free: 3.277 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] 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: 8.347870588302612]