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.001196/0.001196, allocations: 98.11 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.007733/0.007733, allocations: 172.5 kB / 16.27 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.212/2.212, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8878, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001285/0.8891, allocations: 1.21 MB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.8901, allocations: 0.7223 MB / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.8901, allocations: 0 / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.8901, allocations: 0 / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.8902, allocations: 18.14 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.8906, allocations: 100.1 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.8907, allocations: 71.06 kB / 0.9572 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.8908, allocations: 17.61 kB / 0.9573 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.8908, allocations: 33.55 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.8909, allocations: 34.92 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.8909, allocations: 10.94 kB / 0.9573 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.8911, allocations: 89.84 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.8911, allocations: 11.95 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.8912, allocations: 56.62 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.8913, allocations: 131.7 kB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8914, allocations: 0 / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8914, allocations: 1.25 kB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.8914, allocations: 0 / 0.9576 GB, free: 5.758 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.0004656/0.8918, allocations: 417 kB / 0.958 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8919, allocations: 9.219 kB / 0.958 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.8919, allocations: 36.16 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.892, allocations: 12.48 kB / 0.9581 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.892, allocations: 176.1 kB / 0.9582 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.8921, allocations: 2.5 kB / 0.9582 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8921, allocations: 8.719 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.8922, allocations: 70.81 kB / 0.9583 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8923, allocations: 4 kB / 0.9583 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8923, allocations: 1.188 kB / 0.9583 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8923, allocations: 1.094 kB / 0.9583 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.8924, allocations: 41.41 kB / 0.9584 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.8929, allocations: 324.7 kB / 0.9587 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.893, allocations: 50.92 kB / 0.9587 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.8931, allocations: 34.53 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.8931, allocations: 5.594 kB / 0.9587 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.8933, allocations: 79.39 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.8933, allocations: 3.938 kB / 0.9588 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003441/0.8937, allocations: 153.8 kB / 0.959 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.8937, allocations: 56.94 kB / 0.959 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.8938, allocations: 128.3 kB / 0.9592 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.8938, allocations: 27.58 kB / 0.9592 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.8938, allocations: 91.64 kB / 0.9593 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.8938, allocations: 17.73 kB / 0.9593 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.8939, allocations: 17.28 kB / 0.9593 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.8939, allocations: 324.6 kB / 0.9596 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.894, allocations: 33.95 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.8941, allocations: 51.27 kB / 0.9597 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.8942, allocations: 88.78 kB / 0.9598 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8943, allocations: 0 / 0.9598 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.8945, allocations: 127 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8945, allocations: 5.5 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8945, allocations: 9.422 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8945, allocations: 1.375 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.8946, allocations: 13.56 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8946, allocations: 1.375 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.8947, allocations: 13.42 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.8947, allocations: 4.125 kB / 0.9599 GB, free: 3.547 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.27e-05/0.8948, allocations: 130.1 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.8948, allocations: 10.66 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.8948, allocations: 9.797 kB / 0.9601 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8948, allocations: 5.375 kB / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.8948, allocations: 0 / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.8948, allocations: 0 / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.8952, allocations: 388.4 kB / 0.9605 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8952, allocations: 5.375 kB / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.8952, allocations: 4.125 kB / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8953, allocations: 0 / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.8953, allocations: 5.359 kB / 0.9605 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8953, allocations: 5.312 kB / 0.9605 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8953, allocations: 0 / 0.9605 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.8955, allocations: 218.4 kB / 0.9607 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.8955, allocations: 83.77 kB / 0.9608 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.8956, allocations: 9.297 kB / 0.9608 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.8957, allocations: 8.062 kB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.8957, allocations: 6.734 kB / 0.9608 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.8957, allocations: 5.375 kB / 0.9608 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.8957, allocations: 92.89 kB / 0.9609 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.42e-07/0.8958, allocations: 0 / 0.9609 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000272/0.896, allocations: 48.75 kB / 0.9609 GB, free: 2.621 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.0005855/0.8966, allocations: 0.8014 MB / 0.9617 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.8968, allocations: 83.77 kB / 0.9618 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8969, allocations: 0 / 0.9618 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.8969, allocations: 40.03 kB / 0.9618 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.8972, allocations: 10.72 kB / 0.9618 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.8984, allocations: 1.522 MB / 0.9633 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.8986, allocations: 0.6883 MB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.8986, allocations: 11.22 kB / 0.964 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.8987, allocations: 18.84 kB / 0.964 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8987, allocations: 0 / 0.964 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.9116, allocations: 2.326 MB / 0.9663 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.9119, allocations: 258.4 kB / 0.9665 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.686, allocations: 3.938 kB / 0.9666 GB, free: 14.34 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