Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001708/0.001708, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.358/1.358, allocations: 222.9 MB / 240.6 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.37/2.37, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6886, allocations: 140.4 MB / 0.9498 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002375/0.691, allocations: 1.527 MB / 0.9513 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6921, allocations: 0.7246 MB / 0.952 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.6922, allocations: 1.375 kB / 0.952 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.6922, allocations: 3.938 kB / 0.952 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.6923, allocations: 9.297 kB / 0.952 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.6928, allocations: 107.1 kB / 0.9521 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.6929, allocations: 78.92 kB / 0.9522 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.693, allocations: 22.61 kB / 0.9522 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.6931, allocations: 28.58 kB / 0.9522 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.6931, allocations: 45.09 kB / 0.9523 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.6932, allocations: 5.719 kB / 0.9523 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.6933, allocations: 97.5 kB / 0.9524 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.6934, allocations: 15.89 kB / 0.9524 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.6934, allocations: 36.03 kB / 0.9524 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.6936, allocations: 96.14 kB / 0.9525 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6936, allocations: 1.281 kB / 0.9525 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6936, allocations: 4 kB / 0.9525 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6936, allocations: 0 / 0.9525 GB, free: 7.344 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.0005382/0.6941, allocations: 428.6 kB / 0.9529 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6942, allocations: 13.16 kB / 0.9529 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.6942, allocations: 5 kB / 0.9529 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.6943, allocations: 175.2 kB / 0.9531 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.6943, allocations: 3.094 kB / 0.9531 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.6943, allocations: 4.438 kB / 0.9531 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.6945, allocations: 80.62 kB / 0.9532 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6945, allocations: 0 / 0.9532 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6946, allocations: 0 / 0.9532 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6946, allocations: 1.469 kB / 0.9532 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.6947, allocations: 36.34 kB / 0.9532 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.6952, allocations: 321.4 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.6954, allocations: 53.3 kB / 0.9536 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.6954, allocations: 31.28 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6955, allocations: 1.375 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.6956, allocations: 85.31 kB / 0.9537 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.6957, allocations: 3.938 kB / 0.9537 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.696, allocations: 140.3 kB / 0.9538 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.6961, allocations: 57.72 kB / 0.9539 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.6962, allocations: 124 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.6962, allocations: 27.17 kB / 0.954 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.6962, allocations: 90.56 kB / 0.9541 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.6962, allocations: 14.81 kB / 0.9541 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.6963, allocations: 33.64 kB / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.6963, allocations: 325.2 kB / 0.9545 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.6964, allocations: 22.27 kB / 0.9545 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.6965, allocations: 44.31 kB / 0.9545 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.6967, allocations: 78.02 kB / 0.9546 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6967, allocations: 0 / 0.9546 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002104/0.6969, allocations: 117.9 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6969, allocations: 4.812 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6969, allocations: 1.125 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6969, allocations: 1.5 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.697, allocations: 12.08 kB / 0.9547 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.697, allocations: 5.531 kB / 0.9547 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.6971, allocations: 12.19 kB / 0.9547 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.6971, allocations: 2.875 kB / 0.9548 GB, free: 5.191 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.435e-05/0.6972, allocations: 126.1 kB / 0.9549 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.6972, allocations: 8.156 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.6972, allocations: 9.812 kB / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6973, allocations: 0 / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6973, allocations: 5.281 kB / 0.9549 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6973, allocations: 4 kB / 0.9549 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.6976, allocations: 382.9 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6977, allocations: 0 / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.6977, allocations: 11.05 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6977, allocations: 1.031 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6977, allocations: 0.9062 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.6977, allocations: 0.9062 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6977, allocations: 3.938 kB / 0.9553 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.698, allocations: 214.6 kB / 0.9555 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.698, allocations: 83.39 kB / 0.9556 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.698, allocations: 1.25 kB / 0.9556 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.867e-05/0.6981, allocations: 1.625 kB / 0.9556 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.6982, allocations: 14.7 kB / 0.9556 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.6982, allocations: 2.125 kB / 0.9556 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.6982, allocations: 97.2 kB / 0.9557 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6982, allocations: 0 / 0.9557 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000299/0.6985, allocations: 36.72 kB / 0.9557 GB, free: 4.281 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,win.occ,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.0003323/0.6989, allocations: 170.7 kB / 0.9559 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.6992, allocations: 70.69 kB / 0.9559 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6992, allocations: 7.875 kB / 0.9559 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.6993, allocations: 40.78 kB / 0.956 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.6996, allocations: 2.75 kB / 0.956 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.7, allocations: 231.5 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.7002, allocations: 0.6892 MB / 0.9569 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.7002, allocations: 21.7 kB / 0.9569 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7002, allocations: 1.25 kB / 0.9569 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.003195/0.7034, allocations: 1.609 MB / 0.9585 GB, free: 2.348 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches