Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005199/0.005199, allocations: 101 kB / 15.87 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 195.6 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.607, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00299/0.61, allocations: 1.562 MB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.6115, allocations: 0.7401 MB / 1.02 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.6116, allocations: 0 / 1.02 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.6116, allocations: 11.92 kB / 1.02 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.6117, allocations: 11.92 kB / 1.02 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.6123, allocations: 99.77 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.6125, allocations: 67.84 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.6126, allocations: 11.98 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.6127, allocations: 31.84 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.6128, allocations: 39.84 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.6128, allocations: 4 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.6131, allocations: 91.91 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.6131, allocations: 19.89 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.6132, allocations: 35.8 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.6134, allocations: 89.81 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6134, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6134, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6134, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 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.0006971/0.6142, allocations: 432.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6142, allocations: 12.02 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.6143, allocations: 8.844 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6144, allocations: 168.3 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.6144, allocations: 4.375 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.6144, allocations: 4.375 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.6147, allocations: 73.91 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.6147, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.6147, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6147, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.6148, allocations: 39.91 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.6155, allocations: 316.7 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.6156, allocations: 50.56 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/0.6157, allocations: 32.97 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.6158, allocations: 80 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.616, allocations: 83.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.616, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004058/0.6164, allocations: 133.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.6165, allocations: 59.41 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.6166, allocations: 121.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.6166, allocations: 29.7 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.6167, allocations: 84.14 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.6167, allocations: 19.8 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.6168, allocations: 25.72 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6169, allocations: 326.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.617, allocations: 31.86 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.6171, allocations: 58.91 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6173, allocations: 66.55 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6173, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/0.6175, allocations: 109.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6176, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6176, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6176, allocations: 7.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.6177, allocations: 11.94 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6177, allocations: 8.062 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.6178, allocations: 15.83 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.6178, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 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 9.958e-05/0.6179, allocations: 126.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.6179, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.618, allocations: 12.38 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.618, allocations: 3.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.618, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.618, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.6185, allocations: 382.3 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6185, allocations: 8 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.6185, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6185, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.6185, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6186, allocations: 3.938 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6186, allocations: 7.922 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.6188, allocations: 211.4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.6189, allocations: 81.11 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.6189, allocations: 3.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.619, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.6191, allocations: 11.94 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.6191, allocations: 7.922 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.6191, allocations: 95.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6192, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003037/0.6195, allocations: 36 kB / 1.023 GB, free: 12.44 MB / 0.7794 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.0003593/0.6198, allocations: 154.4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.6201, allocations: 71.89 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6201, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.6202, allocations: 43.91 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.6205, allocations: 12.77 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.6209, allocations: 219.7 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.6212, allocations: 0.6926 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.6212, allocations: 15.44 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6212, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.00411/0.6254, allocations: 1.602 MB / 1.026 GB, free: 9.582 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches