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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.0013, 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.0012/0.001201, allocations: 194.6 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.402/2.402, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7093, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002671/0.7121, allocations: 1.493 MB / 0.951 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.7131, allocations: 0.7334 MB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.7132, allocations: 1.188 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.7132, allocations: 3.938 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.7133, allocations: 9.344 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.7138, allocations: 126.2 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.7139, allocations: 82.72 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.714, allocations: 21.64 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.714, allocations: 34.41 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.7141, allocations: 39.86 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.7141, allocations: 5.688 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.7143, allocations: 98.47 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.7143, allocations: 15.58 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.7144, allocations: 26.95 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.7146, allocations: 139.5 kB / 0.9523 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.7146, allocations: 8 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7146, allocations: 1.094 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7146, allocations: 0 / 0.9523 GB, free: 7.055 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.0005191/0.7151, allocations: 428 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.7152, allocations: 9.375 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.7152, allocations: 5.188 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.7153, allocations: 170.7 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7154, allocations: 3.531 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.7154, allocations: 12.5 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.7156, allocations: 71.31 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7156, allocations: 1.312 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.7156, allocations: 0 / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.7156, allocations: 1.25 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7158, allocations: 36.62 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.7164, allocations: 324.1 kB / 0.9534 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.7165, allocations: 49.72 kB / 0.9534 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.7166, allocations: 31.41 kB / 0.9534 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.7166, allocations: 5.5 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.7168, allocations: 76.75 kB / 0.9535 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.7168, allocations: 0 / 0.9535 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003976/0.7172, allocations: 144.8 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.7173, allocations: 52.91 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.7174, allocations: 117 kB / 0.9538 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.7174, allocations: 27.27 kB / 0.9538 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.7174, allocations: 94.56 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.7175, allocations: 18.69 kB / 0.954 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.7175, allocations: 33.98 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.051e-05/0.7176, allocations: 324.2 kB / 0.9543 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.7177, allocations: 22.77 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.7177, allocations: 53.58 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.7179, allocations: 82.31 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7179, allocations: 1.344 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002238/0.7181, allocations: 113.5 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7182, allocations: 8.297 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.7182, allocations: 5.312 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7182, allocations: 5.562 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.7183, allocations: 16.41 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7183, allocations: 6.828 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.7184, allocations: 7.219 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.7184, allocations: 4.281 kB / 0.9546 GB, free: 4.891 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.468e-05/0.7184, allocations: 125.8 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.7185, allocations: 7.031 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.7185, allocations: 9.703 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7185, allocations: 5 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7185, allocations: 0.8125 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7185, allocations: 4.031 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.7189, allocations: 387.2 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7189, allocations: 0 / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.7189, allocations: 3.375 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7189, allocations: 1.312 kB / 0.9551 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7189, allocations: 5.234 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.719, allocations: 4 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.719, allocations: 3.938 kB / 0.9551 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.7192, allocations: 210.2 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.7192, allocations: 82.48 kB / 0.9554 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.7193, allocations: 5.297 kB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.7193, allocations: 6.594 kB / 0.9554 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.7194, allocations: 14.42 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.7194, allocations: 2.594 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.7194, allocations: 97.3 kB / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7195, allocations: 0 / 0.9555 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002902/0.7197, allocations: 40.03 kB / 0.9556 GB, free: 3.973 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.0002977/0.7201, allocations: 159.2 kB / 0.9557 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.7203, allocations: 74.14 kB / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7203, allocations: 0 / 0.9558 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.7204, allocations: 36.33 kB / 0.9558 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.7206, allocations: 10.42 kB / 0.9558 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.721, allocations: 179.6 kB / 0.956 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.7211, allocations: 0.6921 MB / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.7212, allocations: 4.375 kB / 0.9567 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.7212, allocations: 14.23 kB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7212, allocations: 0 / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.003684/0.7249, allocations: 1.463 MB / 0.9581 GB, free: 2.168 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (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 & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0