Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001329/0.001329, 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.001448/0.001448, allocations: 193.1 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.379/2.379, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6242, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002673/0.627, allocations: 1.551 MB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6281, allocations: 0.7333 MB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.6281, allocations: 0 / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.6282, allocations: 0 / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.6282, allocations: 18.56 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.6286, allocations: 104.1 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.6287, allocations: 70.5 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.6288, allocations: 13.02 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.6289, allocations: 38.23 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.6289, allocations: 35.5 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.6289, allocations: 8 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.6291, allocations: 88.84 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.6291, allocations: 14.92 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.6292, allocations: 36.41 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.6293, allocations: 131.1 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6294, allocations: 1 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6294, allocations: 0 / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.6294, allocations: 0 / 0.9518 GB, free: 6.98 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.0005091/0.6299, allocations: 432.3 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6299, allocations: 10.03 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.63, allocations: 32.25 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.63, allocations: 4.188 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.125e-05/0.6301, allocations: 180.3 kB / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6301, allocations: 10.38 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.6301, allocations: 8.469 kB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6303, allocations: 71.41 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6303, allocations: 0 / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6303, allocations: 1.562 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6303, allocations: 4 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.6305, allocations: 36.38 kB / 0.9526 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.6309, allocations: 326.5 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.6311, allocations: 48.22 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.6311, allocations: 36.11 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6312, allocations: 0.9375 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.6313, allocations: 76.97 kB / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6313, allocations: 0 / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.6317, allocations: 144.8 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.6317, allocations: 52.72 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.6318, allocations: 125.1 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.6318, allocations: 30.73 kB / 0.9534 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.6319, allocations: 91.52 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.6319, allocations: 14.06 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.6319, allocations: 26.67 kB / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.632, allocations: 323.8 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.6321, allocations: 31.23 kB / 0.9538 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.6321, allocations: 48.36 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.6323, allocations: 70.22 kB / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6323, allocations: 0 / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002036/0.6325, allocations: 117.2 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6325, allocations: 4.781 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6325, allocations: 1.625 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6325, allocations: 1.344 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.6326, allocations: 12.02 kB / 0.9541 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6327, allocations: 5.031 kB / 0.9541 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.6327, allocations: 7.375 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.6327, allocations: 8.172 kB / 0.9541 GB, free: 4.785 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.299e-05/0.6328, allocations: 125.8 kB / 0.9542 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.6328, allocations: 7.062 kB / 0.9542 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.6329, allocations: 7.312 kB / 0.9542 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6329, allocations: 3.938 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6329, allocations: 0 / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6329, allocations: 1.844 kB / 0.9542 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.6332, allocations: 390.7 kB / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6332, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.6333, allocations: 7.359 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6333, allocations: 1.562 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.6333, allocations: 3.938 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6333, allocations: 5.438 kB / 0.9546 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6333, allocations: 80 / 0.9546 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.6336, allocations: 213.6 kB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.6336, allocations: 86.92 kB / 0.9549 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.6336, allocations: 5.125 kB / 0.9549 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.6337, allocations: 6.031 kB / 0.9549 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.6337, allocations: 7.609 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.6338, allocations: 6.406 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.6338, allocations: 92.02 kB / 0.955 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6338, allocations: 0 / 0.955 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002885/0.6341, allocations: 39.98 kB / 0.9551 GB, free: 3.867 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.0005839/0.6347, allocations: 0.8017 MB / 0.9558 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.6349, allocations: 77.77 kB / 0.9559 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6349, allocations: 0 / 0.9559 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.635, allocations: 36.27 kB / 0.956 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.6352, allocations: 17.97 kB / 0.956 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6364, allocations: 1.482 MB / 0.9574 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.359e-05/0.6365, allocations: 0.6889 MB / 0.9581 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.6366, allocations: 6.875 kB / 0.9581 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.6366, allocations: 23.7 kB / 0.9581 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6366, allocations: 0 / 0.9581 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.6544, allocations: 2.424 MB / 0.9605 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.6547, allocations: 262.6 kB / 0.9607 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.312, allocations: 0 / 0.9607 GB, free: 15.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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