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.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.001338/0.001338, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001417/0.001417, allocations: 190.9 kB / 22.17 MB, free: 5.656 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.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002217/0.002217, allocations: 63.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.813, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003395/0.8164, allocations: 1.522 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.818, allocations: 0.7417 MB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.8181, allocations: 0 / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.8181, allocations: 7.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.8182, allocations: 7.875 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.8189, allocations: 123.6 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.8191, allocations: 79.77 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.8192, allocations: 15.94 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.8193, allocations: 35.86 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.8194, allocations: 43.81 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.8194, allocations: 4 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.8196, allocations: 99.89 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.8197, allocations: 15.98 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.8197, allocations: 31.8 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.82, allocations: 146.2 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.82, allocations: 3.938 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.82, allocations: 4 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.82, allocations: 0 / 1.277 GB, free: 1.645 MB / 0.9669 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.0007388/0.8208, allocations: 420.8 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8208, allocations: 12.03 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.8209, allocations: 8.891 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.821, allocations: 172.3 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.8211, allocations: 8.359 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.8211, allocations: 8.375 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.8213, allocations: 73.91 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8213, allocations: 0 / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.8214, allocations: 0 / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8214, allocations: 3.984 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.8215, allocations: 35.97 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.8222, allocations: 320.8 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.8224, allocations: 42.56 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.8224, allocations: 32.91 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.8225, allocations: 80 / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.8227, allocations: 87.34 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.8227, allocations: 3.938 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004432/0.8232, allocations: 137.6 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.8232, allocations: 55.41 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.8234, allocations: 133.6 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.8234, allocations: 29.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.8234, allocations: 92.12 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.8235, allocations: 15.91 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.8235, allocations: 25.7 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8237, allocations: 326.8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.8238, allocations: 27.98 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.8239, allocations: 46.55 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.824, allocations: 78.48 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.824, allocations: 0 / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002555/0.8243, allocations: 113.5 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8243, allocations: 4 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8243, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.8243, allocations: 4 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.8244, allocations: 16.05 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8244, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.8245, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.8245, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 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.0001163/0.8246, allocations: 133.6 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.8247, allocations: 7.953 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.8247, allocations: 8.312 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8247, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8247, allocations: 7.938 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.8247, allocations: 0 / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.8252, allocations: 382.4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8252, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.8253, allocations: 7.984 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8253, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.8253, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8253, allocations: 3.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8253, allocations: 7.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.8256, allocations: 203.5 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.8257, allocations: 89.05 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.8257, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.8258, allocations: 4 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.8258, allocations: 11.92 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.8258, allocations: 4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.428e-05/0.8259, allocations: 99.27 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8259, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003276/0.8262, allocations: 35.94 kB / 1.28 GB, free: 14 MB / 0.9825 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.0004528/0.8267, allocations: 167 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.827, allocations: 75.89 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.827, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.8271, allocations: 35.91 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.8274, allocations: 15.92 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.8279, allocations: 190.3 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8282, allocations: 0.6925 MB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.8282, allocations: 4 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.8283, allocations: 19.42 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.8283, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.004966/0.8332, allocations: 1.466 MB / 1.283 GB, free: 11.31 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.659693881869316]