Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001848/0.001848, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.186/2.186, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.8998, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003729/0.9036, allocations: 1.511 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.9054, allocations: 0.7576 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.9055, allocations: 1.094 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.9055, allocations: 5.203 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.9056, allocations: 18.38 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.9064, allocations: 136.1 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.9066, allocations: 100.4 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.9068, allocations: 23.73 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.9069, allocations: 42.89 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.9071, allocations: 53.48 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.9071, allocations: 8.875 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.9074, allocations: 102.1 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.9074, allocations: 21.34 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.9075, allocations: 44.94 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.9079, allocations: 159.8 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.9079, allocations: 1.828 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9079, allocations: 3.938 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.9079, allocations: 4 kB / 1.092 GB, free: 3.66 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008117/0.9088, allocations: 455.4 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.9088, allocations: 9.719 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.9089, allocations: 9.062 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.909, allocations: 182.1 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.9091, allocations: 7.406 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.9091, allocations: 5.422 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.9094, allocations: 93.14 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.9094, allocations: 0.75 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.9094, allocations: 4.656 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.9094, allocations: 1.312 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.9097, allocations: 46.22 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.9105, allocations: 344.6 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.9107, allocations: 57.08 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.9109, allocations: 46.52 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.9109, allocations: 1.797 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.9112, allocations: 99.58 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.033e-06/0.9112, allocations: 0.5938 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006241/0.9118, allocations: 178.7 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.9119, allocations: 58.59 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.912, allocations: 125.7 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.912, allocations: 32.05 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.9121, allocations: 96.86 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.9121, allocations: 20.25 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.9122, allocations: 31.16 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.9123, allocations: 323.4 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.9124, allocations: 28.88 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.9125, allocations: 71.55 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.9127, allocations: 99.45 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9127, allocations: 0.7812 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002778/0.913, allocations: 126.8 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.913, allocations: 10.06 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.913, allocations: 1.781 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.913, allocations: 1.766 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.9132, allocations: 17.56 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.9132, allocations: 3.016 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.9133, allocations: 5.594 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.9133, allocations: 5.672 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.148e-05/0.9134, allocations: 136 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.9134, allocations: 7.625 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.9134, allocations: 7.219 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9134, allocations: 1.438 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9135, allocations: 0.5625 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.9135, allocations: 1.609 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.9141, allocations: 425.3 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9141, allocations: 4 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.9142, allocations: 14.05 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9142, allocations: 0 / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.9142, allocations: 3.328 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9142, allocations: 0.75 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9142, allocations: 5.172 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.9147, allocations: 242.2 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.9147, allocations: 83.34 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.9147, allocations: 2.266 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.9148, allocations: 5.984 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.9149, allocations: 13.02 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.9149, allocations: 13.12 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.915, allocations: 94.16 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.915, allocations: 0 / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003854/0.9154, allocations: 41.08 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003933/0.9158, allocations: 177.7 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.9161, allocations: 87.67 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9162, allocations: 0 / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.9163, allocations: 53.19 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.9166, allocations: 11.31 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.9171, allocations: 230.9 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.9173, allocations: 0.6896 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.9174, allocations: 16.66 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9174, allocations: 4 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.004948/0.9223, allocations: 1.8 MB / 1.098 GB, free: 15.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches