Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001631/0.001631, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.16 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7061, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002514/0.7087, allocations: 1.522 MB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.7098, allocations: 0.752 MB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.7099, allocations: 1.469 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.71, allocations: 5.484 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.71, allocations: 14.17 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.7106, allocations: 143.4 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.7107, allocations: 100.9 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.7108, allocations: 19.73 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.982e-05/0.7109, allocations: 46.69 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.711, allocations: 55.08 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.711, allocations: 8.656 kB / 1.086 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.7113, allocations: 97.03 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.7113, allocations: 31.19 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.7114, allocations: 43.56 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.7116, allocations: 159.7 kB / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7116, allocations: 0 / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7117, allocations: 1.344 kB / 1.086 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7117, allocations: 4 kB / 1.086 GB, free: 15.75 MB / 0.8419 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.0007476/0.7124, allocations: 457.4 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7125, allocations: 8.719 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.7125, allocations: 14.14 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.7127, allocations: 177.5 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.7127, allocations: 3.906 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.7128, allocations: 6.078 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.7131, allocations: 102.8 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7131, allocations: 0 / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.7131, allocations: 1.906 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7131, allocations: 0.5938 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.7134, allocations: 48.16 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.7143, allocations: 342.5 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.7145, allocations: 63.05 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.7146, allocations: 43.8 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.7147, allocations: 5 kB / 1.087 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.715, allocations: 94.09 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.715, allocations: 0 / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0006467/0.7156, allocations: 192 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.7157, allocations: 58.73 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.7158, allocations: 129.3 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.7159, allocations: 30.8 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.716, allocations: 93.16 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.716, allocations: 21 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.7161, allocations: 30.33 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7163, allocations: 324.6 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.7164, allocations: 29.25 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.7165, allocations: 63.3 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.7167, allocations: 94.27 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.7167, allocations: 6.062 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003009/0.717, allocations: 129.8 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7171, allocations: 5.719 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7171, allocations: 1.531 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.7171, allocations: 2.562 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.7172, allocations: 18.17 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7172, allocations: 1.219 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.7173, allocations: 10.59 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.7173, allocations: 4.219 kB / 1.088 GB, free: 13.64 MB / 0.8419 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 0.0001176/0.7175, allocations: 125.3 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.7175, allocations: 16.45 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.7175, allocations: 7.25 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7175, allocations: 1.25 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7176, allocations: 0 / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7176, allocations: 2.094 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.7183, allocations: 440.2 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7183, allocations: 3.938 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.7183, allocations: 6.188 kB / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7183, allocations: 0 / 1.089 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.7184, allocations: 8.438 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7184, allocations: 0.6562 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7184, allocations: 3.938 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.7189, allocations: 258.8 kB / 1.089 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.7189, allocations: 78.59 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.719, allocations: 2.875 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.7191, allocations: 6.422 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.7191, allocations: 9.469 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.7192, allocations: 8.625 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.7192, allocations: 97.31 kB / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7193, allocations: 5.531 kB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003329/0.7196, allocations: 44.02 kB / 1.089 GB, free: 12.74 MB / 0.8419 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.0003993/0.72, allocations: 154.9 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.7203, allocations: 103.6 kB / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7203, allocations: 0 / 1.09 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.7205, allocations: 46.25 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.7208, allocations: 19.31 kB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.7213, allocations: 232 kB / 1.09 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.7216, allocations: 0.692 MB / 1.091 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.7217, allocations: 17 kB / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7217, allocations: 0 / 1.091 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of Templates: time 0.004055/0.7257, allocations: 1.802 MB / 1.092 GB, free: 11.52 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches