Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 191 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.487/2.487, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5095, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002589/0.5121, allocations: 1.558 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.5133, allocations: 0.7401 MB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.5134, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.5135, allocations: 7.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.5135, allocations: 3.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.514, allocations: 103.8 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.5141, allocations: 71.83 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.5142, allocations: 8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.5143, allocations: 39.84 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.5144, allocations: 31.89 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.5144, allocations: 3.938 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.5146, allocations: 91.91 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.5146, allocations: 19.91 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.5147, allocations: 27.86 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.5149, allocations: 141.9 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5149, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5149, allocations: 3.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.5149, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 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.0005822/0.5155, allocations: 417 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5156, allocations: 8.031 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.5156, allocations: 38.75 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.5157, allocations: 8.844 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5158, allocations: 168.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5158, allocations: 12.25 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5158, allocations: 8.359 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.516, allocations: 77.77 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.516, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.516, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5161, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5162, allocations: 39.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.5168, allocations: 324.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.5169, allocations: 42.56 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.517, allocations: 32.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.517, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.5172, allocations: 87.31 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.5172, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000377/0.5176, allocations: 137.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.5176, allocations: 55.41 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.5177, allocations: 122.2 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.5178, allocations: 25.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.5178, allocations: 96.12 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.5178, allocations: 11.81 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.5179, allocations: 29.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.518, allocations: 326.8 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.5181, allocations: 27.92 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.5182, allocations: 46.61 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.5183, allocations: 74.86 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5183, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.5186, allocations: 125.4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5186, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5186, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5186, allocations: 8.062 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.5187, allocations: 15.92 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.5187, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.5188, allocations: 15.84 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5188, allocations: 4 kB / 1.022 GB, free: 13.34 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 8.099e-05/0.5189, allocations: 122.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.5189, allocations: 7.984 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.519, allocations: 12.38 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.519, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.519, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.519, allocations: 3.984 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.5194, allocations: 378.3 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5195, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.5195, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5195, allocations: 7.922 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5195, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5195, allocations: 7.938 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5195, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.5198, allocations: 211.3 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.5199, allocations: 85.09 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.5199, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.52, allocations: 7.938 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.5201, allocations: 11.98 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5201, allocations: 8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.5201, allocations: 91.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5201, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002974/0.5204, allocations: 36 kB / 1.023 GB, free: 12.26 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.0007571/0.5212, allocations: 0.7989 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5214, allocations: 76.2 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5214, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.5215, allocations: 40.06 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5218, allocations: 19.06 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.5233, allocations: 1.484 MB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.5236, allocations: 0.6887 MB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.5236, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.5237, allocations: 23.42 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5237, allocations: 0 / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.5353, allocations: 2.424 MB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.5355, allocations: 260.4 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.125, allocations: 3.938 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed