Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.0008502/0.0008504, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006517/0.006517, allocations: 175 kB / 16.27 MB, free: 6.613 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.717/1.717, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.864/2.864, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003866, allocations: 12 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7326, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002033/0.7346, allocations: 1.219 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.7361, allocations: 0.7131 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.7362, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.7362, allocations: 7.984 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.7363, allocations: 7.875 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.737, allocations: 103.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.7371, allocations: 75.77 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7372, allocations: 11.98 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.7373, allocations: 31.86 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.7374, allocations: 43.83 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.7375, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.7377, allocations: 87.84 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.7377, allocations: 15.92 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.7378, allocations: 53.56 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.7381, allocations: 133.9 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7381, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7381, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7381, allocations: 0 / 1.026 GB, free: 13.3 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.0006255/0.7387, allocations: 413 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7388, allocations: 12.03 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.7388, allocations: 34.69 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.7389, allocations: 12.83 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.739, allocations: 172.3 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.739, allocations: 8.375 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.739, allocations: 384 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.7393, allocations: 77.78 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.7393, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7393, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.7393, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.7394, allocations: 43.97 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.7401, allocations: 328.6 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.7402, allocations: 50.55 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.7403, allocations: 36.97 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.7403, allocations: 7.938 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.7405, allocations: 83.38 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.7406, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004013/0.741, allocations: 145.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.741, allocations: 51.41 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.7411, allocations: 125.7 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.7411, allocations: 33.7 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.7412, allocations: 84.14 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.7412, allocations: 19.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.7413, allocations: 17.72 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7414, allocations: 318.8 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.7415, allocations: 35.98 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.7416, allocations: 50.5 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.7418, allocations: 82.53 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7418, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002512/0.742, allocations: 117.5 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7421, allocations: 8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7421, allocations: 8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7421, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7422, allocations: 19.92 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.7422, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.7423, allocations: 7.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.7423, allocations: 8.391 kB / 1.028 GB, free: 10.68 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 0.0001115/0.7424, allocations: 122.3 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.7425, allocations: 11.91 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.7425, allocations: 12.38 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7425, allocations: 3.938 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7425, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7425, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.743, allocations: 398.4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.743, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.7431, allocations: 11.98 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7431, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.7431, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7431, allocations: 3.938 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7431, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.7434, allocations: 223.3 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.7434, allocations: 85.02 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.7435, allocations: 0 / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.7436, allocations: 7.938 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.7436, allocations: 11.98 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.7436, allocations: 0 / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.7437, allocations: 95.27 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7437, allocations: 0 / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003259/0.744, allocations: 39.98 kB / 1.029 GB, free: 9.566 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.0008267/0.7449, allocations: 0.8111 MB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.7451, allocations: 75.95 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7451, allocations: 0 / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7452, allocations: 39.92 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.7455, allocations: 16.05 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7472, allocations: 1.512 MB / 1.031 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.7474, allocations: 0.6848 MB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.7475, allocations: 7.984 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.7475, allocations: 19.44 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7475, allocations: 0 / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.7606, allocations: 2.336 MB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.7609, allocations: 272.6 kB / 1.034 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.633, allocations: 0 / 1.034 GB, free: 3.762 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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