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.001211/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001746/0.001746, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.465/2.465, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 71.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7989, allocations: 140.3 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002583/0.8015, allocations: 1.566 MB / 0.9506 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.8026, allocations: 0.722 MB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.8026, allocations: 1.375 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.8027, allocations: 3.984 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.8028, allocations: 13.23 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.8032, allocations: 106.1 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.8033, allocations: 80.3 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.8034, allocations: 17.45 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.8035, allocations: 38.47 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.8036, allocations: 38.7 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.8036, allocations: 6.844 kB / 0.9516 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.8038, allocations: 98.59 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.8038, allocations: 14.48 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.8039, allocations: 35.94 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.8041, allocations: 135.8 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8041, allocations: 0 / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8041, allocations: 1.156 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8041, allocations: 3.938 kB / 0.9519 GB, free: 6.977 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.0005142/0.8046, allocations: 427.9 kB / 0.9523 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.8047, allocations: 13.66 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.8047, allocations: 3.781 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.8048, allocations: 172 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.8048, allocations: 7.422 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.8048, allocations: 8.562 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.805, allocations: 67.19 kB / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.805, allocations: 5.25 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.805, allocations: 3.984 kB / 0.9526 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.805, allocations: 1.344 kB / 0.9526 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.8052, allocations: 36.66 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.8057, allocations: 324.4 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.8058, allocations: 48.78 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.8059, allocations: 32.06 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8059, allocations: 1.5 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.8061, allocations: 76.72 kB / 0.9531 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8061, allocations: 0 / 0.9531 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003661/0.8065, allocations: 140.6 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.8066, allocations: 60.77 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.8066, allocations: 118 kB / 0.9534 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.8066, allocations: 25.7 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.8067, allocations: 94.97 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.8067, allocations: 18.41 kB / 0.9535 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.8068, allocations: 31.08 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.8068, allocations: 324.1 kB / 0.9538 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.8069, allocations: 26.09 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.807, allocations: 49.17 kB / 0.9539 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8071, allocations: 87.03 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8071, allocations: 1.531 kB / 0.954 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002099/0.8073, allocations: 116.7 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8074, allocations: 6.188 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.8074, allocations: 0 / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8074, allocations: 1.438 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.8075, allocations: 17.02 kB / 0.9541 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8075, allocations: 1.406 kB / 0.9541 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.8076, allocations: 16.61 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.8076, allocations: 3 kB / 0.9542 GB, free: 4.809 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.335e-05/0.8077, allocations: 122.9 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.8077, allocations: 7.219 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.8077, allocations: 9.25 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.8077, allocations: 1.094 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8077, allocations: 4.828 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8078, allocations: 0 / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.8081, allocations: 390.7 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8081, allocations: 1.344 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.8082, allocations: 6.375 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8082, allocations: 1.25 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.8082, allocations: 1.219 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8082, allocations: 0 / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8082, allocations: 9.328 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.8084, allocations: 205.1 kB / 0.9549 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.8085, allocations: 87.27 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.8085, allocations: 1.031 kB / 0.955 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.8086, allocations: 6.172 kB / 0.955 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.8086, allocations: 7.281 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.8086, allocations: 5.203 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.8087, allocations: 89.66 kB / 0.9551 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8087, allocations: 4 kB / 0.9551 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003013/0.809, allocations: 44.14 kB / 0.9551 GB, free: 3.898 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.0003091/0.8093, allocations: 171.9 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.8095, allocations: 74.8 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8096, allocations: 7.938 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.8097, allocations: 32.61 kB / 0.9554 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8099, allocations: 13.25 kB / 0.9554 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.8103, allocations: 197.9 kB / 0.9556 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.8104, allocations: 0.6917 MB / 0.9563 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.8104, allocations: 3.469 kB / 0.9563 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.8105, allocations: 11.22 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8105, allocations: 0 / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.003818/0.8143, allocations: 1.409 MB / 0.9577 GB, free: 2.094 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