Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.007769/0.007769, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001181/0.001181, allocations: 200.3 kB / 16.67 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3355, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003088/0.3386, allocations: 1.497 MB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3401, allocations: 0.7323 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.3402, allocations: 4 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.3402, allocations: 7.922 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.3403, allocations: 7.875 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.341, allocations: 131.6 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3412, allocations: 71.72 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3413, allocations: 19.97 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.3414, allocations: 27.92 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.3415, allocations: 39.88 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3415, allocations: 8 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.3417, allocations: 99.78 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.3418, allocations: 15.98 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.3418, allocations: 31.86 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.3421, allocations: 142.5 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3421, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3421, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.3422, allocations: 0 / 1.169 GB, free: 4.461 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.0007005/0.3429, allocations: 419.8 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3429, allocations: 8.031 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.343, allocations: 34.73 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.343, allocations: 12.78 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3432, allocations: 184.2 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.3432, allocations: 8.375 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3432, allocations: 4.375 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3434, allocations: 65.78 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3435, allocations: 3.984 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3435, allocations: 8 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3435, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3436, allocations: 31.98 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.3443, allocations: 320.7 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3444, allocations: 46.56 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/0.3445, allocations: 32.97 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.3445, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.3448, allocations: 83.34 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.3448, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004331/0.3452, allocations: 137.6 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3453, allocations: 55.39 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3454, allocations: 125.7 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3454, allocations: 33.7 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.3455, allocations: 92.12 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3455, allocations: 19.75 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.3456, allocations: 25.7 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3457, allocations: 318.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.3458, allocations: 31.97 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.3459, allocations: 42.56 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3461, allocations: 82.47 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3461, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.3463, allocations: 113.8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3463, allocations: 8 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3464, allocations: 4.062 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3464, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.3465, allocations: 11.98 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3465, allocations: 12 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3466, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3466, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 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.224e-05/0.3467, allocations: 131.5 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.3467, allocations: 7.906 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.3467, allocations: 16.36 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3468, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3468, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3468, allocations: 0 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.3472, allocations: 382.4 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3472, allocations: 3.938 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.3473, allocations: 4 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3473, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3473, allocations: 7.984 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3473, allocations: 7.938 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3473, allocations: 3.938 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3476, allocations: 203.4 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.3476, allocations: 89 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3477, allocations: 7.922 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.3478, allocations: 7.938 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3478, allocations: 11.98 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3478, allocations: 4 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.3479, allocations: 95.27 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3479, allocations: 0 / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003106/0.3482, allocations: 36 kB / 1.172 GB, free: 0.7734 MB / 0.92 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.0008094/0.349, allocations: 0.7961 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3493, allocations: 79.81 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3493, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.3494, allocations: 36.05 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3496, allocations: 12.48 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3512, allocations: 1.484 MB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3515, allocations: 0.6885 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.3515, allocations: 7.984 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3516, allocations: 15.44 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3516, allocations: 0 / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.3715, allocations: 2.644 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.286, allocations: 12.38 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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