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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001091/0.001091, allocations: 108 kB / 15.6 MB, free: 132 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.001029/0.00103, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.2 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 67.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5015, allocations: 140.3 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002271/0.5038, allocations: 1.499 MB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.5047, allocations: 0.7346 MB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.5047, allocations: 0 / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.5048, allocations: 7.875 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.5048, allocations: 9.375 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.5052, allocations: 126.4 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.307e-05/0.5053, allocations: 79.92 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.5054, allocations: 17.38 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.723e-05/0.5055, allocations: 29.98 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.5056, allocations: 43.12 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.5056, allocations: 11.12 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.5058, allocations: 98.22 kB / 0.9523 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.5058, allocations: 14.33 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.5058, allocations: 31.55 kB / 0.9523 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.506, allocations: 136.6 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.506, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.506, allocations: 0 / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.506, allocations: 3.938 kB / 0.9525 GB, free: 7.051 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.0004875/0.5065, allocations: 429 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5066, allocations: 12.88 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.5066, allocations: 36 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.5066, allocations: 4.531 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.527e-05/0.5067, allocations: 172.3 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5067, allocations: 6.906 kB / 0.9531 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.5068, allocations: 4.344 kB / 0.9531 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.5069, allocations: 68 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5069, allocations: 0 / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.507, allocations: 5.5 kB / 0.9532 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.507, allocations: 4 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5071, allocations: 36.81 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.5076, allocations: 320.6 kB / 0.9535 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5077, allocations: 56.53 kB / 0.9536 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.5077, allocations: 31.56 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5078, allocations: 1.469 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.5079, allocations: 77.53 kB / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.5079, allocations: 0 / 0.9537 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003348/0.5082, allocations: 140.3 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.5083, allocations: 57.38 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.5084, allocations: 120.2 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5084, allocations: 31.02 kB / 0.954 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.5084, allocations: 95.66 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.5085, allocations: 18.38 kB / 0.9541 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.5085, allocations: 25.95 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.5086, allocations: 324.2 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.5086, allocations: 30.39 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.24e-05/0.5087, allocations: 53.2 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5089, allocations: 76.22 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5089, allocations: 4 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002133/0.5091, allocations: 117 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5091, allocations: 10.08 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5091, allocations: 0 / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5092, allocations: 2.625 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.5092, allocations: 11.66 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5093, allocations: 2.688 kB / 0.9548 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.5093, allocations: 11.92 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5094, allocations: 11.56 kB / 0.9548 GB, free: 4.836 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 6.734e-05/0.5094, allocations: 122.8 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.5094, allocations: 10.73 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.5095, allocations: 13.83 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5095, allocations: 1.188 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5095, allocations: 0 / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5095, allocations: 0 / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.5098, allocations: 383.9 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5098, allocations: 0 / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.5099, allocations: 3.75 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5099, allocations: 0 / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5099, allocations: 5.141 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5099, allocations: 5.125 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5099, allocations: 0 / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.5102, allocations: 214.6 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.5102, allocations: 82.42 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5102, allocations: 5.359 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.5103, allocations: 6.5 kB / 0.9556 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.5103, allocations: 10.47 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.5103, allocations: 6.609 kB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.323e-05/0.5104, allocations: 95.67 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5104, allocations: 1.5 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002717/0.5107, allocations: 39.28 kB / 0.9557 GB, free: 3.922 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.0005935/0.5113, allocations: 0.7991 MB / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.5115, allocations: 76.8 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5115, allocations: 0 / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.5116, allocations: 40.84 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.5118, allocations: 13.12 kB / 0.9566 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.513, allocations: 1.493 MB / 0.9581 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.936e-05/0.5131, allocations: 0.6929 MB / 0.9588 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.5132, allocations: 10.83 kB / 0.9588 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.5132, allocations: 23.39 kB / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5132, allocations: 0 / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.5301, allocations: 2.589 MB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/7.105, allocations: 17.95 kB / 0.9614 GB, free: 15.62 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