Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 189.4 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 71.89 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 160.8 MB / 1.218 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003264/1.016, allocations: 1.522 MB / 1.22 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001645/1.017, allocations: 0.7505 MB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/1.017, allocations: 1.25 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/1.017, allocations: 3.938 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/1.017, allocations: 13.48 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/1.018, allocations: 127.7 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/1.018, allocations: 81.97 kB / 1.221 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/1.018, allocations: 12.06 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/1.018, allocations: 35.06 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/1.018, allocations: 39.11 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/1.018, allocations: 5.969 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/1.019, allocations: 133.7 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/1.019, allocations: 14.27 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/1.019, allocations: 39.19 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/1.019, allocations: 141.5 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.019, allocations: 0 / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.019, allocations: 0 / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.019, allocations: 0 / 1.221 GB, free: 1.633 MB / 0.92 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.0008039/1.02, allocations: 432.6 kB / 1.222 GB, free: 1.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.02, allocations: 8.562 kB / 1.222 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/1.02, allocations: 9.203 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.02, allocations: 172.4 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.02, allocations: 2.312 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.02, allocations: 7.688 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/1.02, allocations: 77.27 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.02, allocations: 4 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.02, allocations: 3.984 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/1.02, allocations: 0.9688 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/1.021, allocations: 32.73 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006862/1.021, allocations: 326.1 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/1.021, allocations: 46.5 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/1.021, allocations: 29.97 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/1.021, allocations: 4.969 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/1.022, allocations: 76.98 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.022, allocations: 1.031 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004384/1.022, allocations: 148.2 kB / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/1.022, allocations: 56.89 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/1.022, allocations: 116.8 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.022, allocations: 26.8 kB / 1.223 GB, free: 132 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/1.022, allocations: 99.89 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.022, allocations: 10.06 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/1.023, allocations: 29.92 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.023, allocations: 325.1 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/1.023, allocations: 26.61 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/1.023, allocations: 48.58 kB / 1.223 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/1.023, allocations: 72.64 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.023, allocations: 4.719 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002627/1.023, allocations: 108.7 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.023, allocations: 5.438 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.023, allocations: 1.469 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.023, allocations: 1.094 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/1.024, allocations: 16.59 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.024, allocations: 9.016 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/1.024, allocations: 7.969 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.024, allocations: 7.156 kB / 1.224 GB, free: 15.48 MB / 0.9356 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.0001331/1.024, allocations: 123.4 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/1.024, allocations: 6.703 kB / 1.224 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/1.024, allocations: 17.27 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.024, allocations: 1.094 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.024, allocations: 1.062 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.024, allocations: 0 / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/1.024, allocations: 390.6 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.024, allocations: 0.9375 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/1.024, allocations: 2.906 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.024, allocations: 0.9062 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.024, allocations: 9.016 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.024, allocations: 1.125 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.024, allocations: 3.938 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/1.025, allocations: 209.5 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/1.025, allocations: 83 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/1.025, allocations: 9.016 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/1.025, allocations: 3.25 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/1.025, allocations: 10.14 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.025, allocations: 2.438 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.399e-05/1.025, allocations: 97.17 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003308/1.025, allocations: 36.5 kB / 1.225 GB, free: 14.56 MB / 0.9356 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.0004598/1.026, allocations: 170.6 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002786/1.026, allocations: 67.8 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.026, allocations: 3.938 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.026, allocations: 35.14 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.027, allocations: 14.11 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.027, allocations: 192.7 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.027, allocations: 0.6879 MB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.82e-05/1.027, allocations: 8.25 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/1.027, allocations: 10.72 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.027, allocations: 0 / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.005231/1.033, allocations: 1.489 MB / 1.227 GB, free: 12.73 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.092471075244248]