Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_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.000909/0.0009089, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005983/0.005983, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6295, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001418/0.631, allocations: 1.218 MB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.6321, allocations: 0.7213 MB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.6321, allocations: 1.125 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.6322, allocations: 0 / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.526e-05/0.6322, allocations: 9.25 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.6327, allocations: 105.2 kB / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.6328, allocations: 73.86 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.6329, allocations: 16.92 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.6329, allocations: 34.12 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.633, allocations: 34.86 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.633, allocations: 3.156 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.6332, allocations: 89.84 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.6332, allocations: 10.02 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.6333, allocations: 55.28 kB / 0.9575 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.6335, allocations: 139.5 kB / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.6335, allocations: 0 / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6335, allocations: 0 / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.6335, allocations: 0 / 0.9576 GB, free: 5.781 MB / 0.7169 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.0004658/0.634, allocations: 417.8 kB / 0.958 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.634, allocations: 9 kB / 0.958 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.6341, allocations: 32.53 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.6341, allocations: 8.406 kB / 0.9581 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.6342, allocations: 179.8 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6342, allocations: 6.141 kB / 0.9582 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.6342, allocations: 7.969 kB / 0.9582 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.6344, allocations: 71.75 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6344, allocations: 0 / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6345, allocations: 0 / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6345, allocations: 1.281 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.6346, allocations: 50.31 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.6351, allocations: 321.5 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.6352, allocations: 56.31 kB / 0.9587 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/0.6353, allocations: 33.53 kB / 0.9587 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.6353, allocations: 1.656 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.6355, allocations: 84.09 kB / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.6355, allocations: 0 / 0.9588 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003701/0.6359, allocations: 153.4 kB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.6359, allocations: 52.59 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.636, allocations: 121.4 kB / 0.9591 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.636, allocations: 30.8 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.6361, allocations: 94.22 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.6361, allocations: 10.88 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.6361, allocations: 25.86 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.6362, allocations: 320 kB / 0.9596 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.6363, allocations: 29.39 kB / 0.9596 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.6364, allocations: 56.58 kB / 0.9597 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.6365, allocations: 82.56 kB / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6365, allocations: 0 / 0.9598 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002216/0.6367, allocations: 118.6 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6368, allocations: 10.23 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6368, allocations: 0 / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6368, allocations: 1.562 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.6369, allocations: 14.06 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6369, allocations: 5.656 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.637, allocations: 16.11 kB / 0.9599 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.637, allocations: 3.438 kB / 0.9599 GB, free: 3.594 MB / 0.7169 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 6.704e-05/0.6371, allocations: 122.6 kB / 0.96 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.6371, allocations: 7.312 kB / 0.96 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.6371, allocations: 9.266 kB / 0.9601 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6371, allocations: 5.188 kB / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6371, allocations: 1.562 kB / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6371, allocations: 3.984 kB / 0.9601 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.6375, allocations: 391.9 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6375, allocations: 1.375 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.6375, allocations: 4.125 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6375, allocations: 0 / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6376, allocations: 5.359 kB / 0.9605 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6376, allocations: 3.938 kB / 0.9605 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6376, allocations: 5.375 kB / 0.9605 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.6378, allocations: 214.4 kB / 0.9607 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.6378, allocations: 83.77 kB / 0.9607 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.6378, allocations: 9.25 kB / 0.9608 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.6379, allocations: 16.05 kB / 0.9608 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.638, allocations: 2.75 kB / 0.9608 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.638, allocations: 5.359 kB / 0.9608 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.638, allocations: 96.89 kB / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.638, allocations: 0 / 0.9609 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002741/0.6383, allocations: 36.88 kB / 0.9609 GB, free: 2.676 MB / 0.7169 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.0005914/0.6389, allocations: 0.8054 MB / 0.9617 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.6391, allocations: 76.03 kB / 0.9618 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6391, allocations: 0 / 0.9618 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.6392, allocations: 47.28 kB / 0.9618 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.6395, allocations: 6.688 kB / 0.9618 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.6407, allocations: 1.519 MB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.6409, allocations: 0.6904 MB / 0.964 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.6409, allocations: 7.375 kB / 0.964 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.641, allocations: 23.45 kB / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.641, allocations: 0 / 0.964 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.6528, allocations: 2.323 MB / 0.9663 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.6531, allocations: 257.9 kB / 0.9665 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.432, allocations: 3.938 kB / 0.9665 GB, free: 14.4 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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