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.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.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.001504/0.001504, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.572/2.572, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 67.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9013, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002374/0.9037, allocations: 1.485 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.9048, allocations: 0.7323 MB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.9049, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.9049, allocations: 11.92 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.905, allocations: 7.875 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.9054, allocations: 131.5 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.387e-05/0.9055, allocations: 63.84 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.9056, allocations: 19.98 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.9057, allocations: 35.84 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.9058, allocations: 39.88 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.9058, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.906, allocations: 95.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.906, allocations: 19.92 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.9061, allocations: 31.86 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.9063, allocations: 137.9 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9063, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9063, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.9063, allocations: 4 kB / 1.02 GB, free: 15.7 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.0005599/0.9069, allocations: 416.8 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9069, allocations: 15.97 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.907, allocations: 30.75 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.907, allocations: 12.83 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.9071, allocations: 172.4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.9071, allocations: 4.375 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.9072, allocations: 4.375 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9073, allocations: 81.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.9073, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9074, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9074, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.9075, allocations: 35.97 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.908, allocations: 324.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.9082, allocations: 54.48 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.9083, allocations: 32.91 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.9083, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.9085, allocations: 83.44 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.9085, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003493/0.9088, allocations: 137.5 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9089, allocations: 51.41 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.909, allocations: 121.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.909, allocations: 29.7 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.909, allocations: 88.14 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.9091, allocations: 19.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.9091, allocations: 29.72 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9092, allocations: 318.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.9093, allocations: 31.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.9094, allocations: 46.98 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.9095, allocations: 78.48 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9096, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002159/0.9098, allocations: 113.5 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9098, allocations: 8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.9098, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.9098, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.9099, allocations: 11.98 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9099, allocations: 8.062 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.91, allocations: 15.83 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.91, allocations: 4 kB / 1.022 GB, free: 13.1 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.045e-05/0.9101, allocations: 129.6 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.9101, allocations: 3.938 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.9101, allocations: 12.38 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9102, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9102, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9102, allocations: 11.92 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.9106, allocations: 378.4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9106, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.9106, allocations: 7.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9106, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.9107, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9107, allocations: 3.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.9107, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.9109, allocations: 208 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.911, allocations: 85.02 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.911, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.9111, allocations: 11.92 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.9111, allocations: 8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.9112, allocations: 3.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.9112, allocations: 95.44 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9112, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002644/0.9115, allocations: 39.98 kB / 1.023 GB, free: 12.02 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.0007163/0.9122, allocations: 0.8098 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.9124, allocations: 71.89 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9124, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.9125, allocations: 35.97 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.9128, allocations: 20.94 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.9142, allocations: 1.485 MB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.9145, allocations: 0.6846 MB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.9145, allocations: 7.984 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.9146, allocations: 23.38 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9146, allocations: 0 / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2918/1.206, allocations: 2.603 MB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.763, allocations: 11.95 kB / 1.029 GB, free: 6.258 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