Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001755/0.001755, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.11/2.11, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4822, allocations: 140.4 MB / 0.949 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001986/0.4842, allocations: 1.552 MB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.4851, allocations: 0.7404 MB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.4851, allocations: 2 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.4852, allocations: 0 / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.4852, allocations: 9.688 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.4856, allocations: 104.3 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.4857, allocations: 70.17 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.4858, allocations: 13.95 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.4858, allocations: 45.72 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.4859, allocations: 35.61 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4859, allocations: 3.219 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.4861, allocations: 90.91 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.4861, allocations: 10.61 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.4861, allocations: 35.52 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.4863, allocations: 132.2 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4863, allocations: 3.984 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4863, allocations: 0 / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.4863, allocations: 3.938 kB / 0.9518 GB, free: 7.082 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.0004404/0.4868, allocations: 427.9 kB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.4868, allocations: 9.906 kB / 0.9522 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.4868, allocations: 39.8 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.4869, allocations: 4.438 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.4869, allocations: 176.5 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.487, allocations: 6.562 kB / 0.9525 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.487, allocations: 4.438 kB / 0.9525 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4871, allocations: 75.84 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.4872, allocations: 0 / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4872, allocations: 1.312 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4872, allocations: 1.25 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4873, allocations: 36.44 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4878, allocations: 320.4 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4879, allocations: 52.58 kB / 0.9529 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.488, allocations: 32.06 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.488, allocations: 5.594 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.4881, allocations: 80.45 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4881, allocations: 3.938 kB / 0.953 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003297/0.4885, allocations: 137.5 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.4885, allocations: 52.75 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.4886, allocations: 124.5 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.4886, allocations: 27.05 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.4886, allocations: 90.7 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.4886, allocations: 22.12 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.4887, allocations: 26.25 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.4887, allocations: 329.4 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.4888, allocations: 22.48 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.4889, allocations: 53.75 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.489, allocations: 81.78 kB / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4891, allocations: 1.25 kB / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002081/0.4893, allocations: 117.1 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4893, allocations: 5.594 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4893, allocations: 5.125 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.4893, allocations: 0.8438 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.4894, allocations: 12.45 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4894, allocations: 6.5 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.4895, allocations: 11.47 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4895, allocations: 4.25 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 5.584e-05/0.4896, allocations: 125.7 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4896, allocations: 8.094 kB / 0.9542 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.4896, allocations: 9.844 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4896, allocations: 0 / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4896, allocations: 1.344 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4896, allocations: 4 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.49, allocations: 382.5 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.49, allocations: 5.031 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.49, allocations: 6.672 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.49, allocations: 1.344 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.49, allocations: 1.406 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.49, allocations: 3.938 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.49, allocations: 0 / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.4903, allocations: 217.7 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.4903, allocations: 83.33 kB / 0.9549 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4903, allocations: 5.156 kB / 0.9549 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.4904, allocations: 6.344 kB / 0.9549 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4904, allocations: 6.547 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4905, allocations: 3.219 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.4905, allocations: 96.02 kB / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.12e-07/0.4905, allocations: 0 / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002627/0.4908, allocations: 48.27 kB / 0.9551 GB, free: 3.945 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,occ.y,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.0005091/0.4913, allocations: 0.7915 MB / 0.9559 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.4915, allocations: 77.84 kB / 0.9559 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4915, allocations: 0 / 0.9559 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.4916, allocations: 37.09 kB / 0.956 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4918, allocations: 18.61 kB / 0.956 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4929, allocations: 1.497 MB / 0.9575 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.328e-05/0.493, allocations: 0.6844 MB / 0.9581 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.4931, allocations: 7.797 kB / 0.9581 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.4931, allocations: 17.94 kB / 0.9581 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4931, allocations: 0 / 0.9581 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/2.751, allocations: 2.425 MB / 0.9605 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/2.751, allocations: 255.6 kB / 0.9608 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/4.768, allocations: 0 / 0.9608 GB, free: 15.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed