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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001172/0.001172, allocations: 92.23 kB / 16.02 MB, free: 80 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.001285/0.001285, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003415, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.708, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001431/0.7094, allocations: 1.197 MB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7105, allocations: 0.7104 MB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.7106, allocations: 0 / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.7106, allocations: 7.938 kB / 0.9576 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.7107, allocations: 14.03 kB / 0.9576 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.7111, allocations: 104.9 kB / 0.9577 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.7112, allocations: 74.16 kB / 0.9578 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.7113, allocations: 13.75 kB / 0.9578 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.7114, allocations: 37.88 kB / 0.9578 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.7115, allocations: 34.53 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.7115, allocations: 3.406 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.7116, allocations: 93.66 kB / 0.9579 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.7117, allocations: 11.95 kB / 0.9579 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.7117, allocations: 61.11 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.7119, allocations: 96.58 kB / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7119, allocations: 0 / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7119, allocations: 0 / 0.9581 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.7119, allocations: 0 / 0.9581 GB, free: 5.875 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.0004803/0.7124, allocations: 409.6 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.7124, allocations: 9.25 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.7125, allocations: 8.312 kB / 0.9585 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.7126, allocations: 179.8 kB / 0.9587 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.7126, allocations: 7.906 kB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.7126, allocations: 4.219 kB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.7128, allocations: 78.84 kB / 0.9588 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.7128, allocations: 4 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.7128, allocations: 3.984 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7129, allocations: 2.125 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.713, allocations: 42.47 kB / 0.9588 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.7135, allocations: 325.4 kB / 0.9591 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.7136, allocations: 51.5 kB / 0.9592 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.7137, allocations: 37.52 kB / 0.9592 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7137, allocations: 5.562 kB / 0.9592 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.7139, allocations: 84.42 kB / 0.9593 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7139, allocations: 0 / 0.9593 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.7143, allocations: 148.6 kB / 0.9594 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.7144, allocations: 57.12 kB / 0.9595 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.7144, allocations: 122 kB / 0.9596 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.7145, allocations: 29.7 kB / 0.9596 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.7145, allocations: 91.58 kB / 0.9597 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.7145, allocations: 13.66 kB / 0.9597 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.7146, allocations: 21.27 kB / 0.9597 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.7146, allocations: 322.4 kB / 0.9601 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.7147, allocations: 32.56 kB / 0.9601 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.7148, allocations: 47.59 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.715, allocations: 86.22 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.715, allocations: 1.375 kB / 0.9602 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002157/0.7152, allocations: 117.8 kB / 0.9603 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7152, allocations: 5.5 kB / 0.9603 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7152, allocations: 1.375 kB / 0.9603 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7152, allocations: 9.375 kB / 0.9603 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.7153, allocations: 13.61 kB / 0.9604 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7153, allocations: 1.375 kB / 0.9604 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.7154, allocations: 12.06 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.7154, allocations: 4.125 kB / 0.9604 GB, free: 3.73 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.682e-05/0.7155, allocations: 125.8 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.7155, allocations: 12.02 kB / 0.9605 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.7156, allocations: 13.75 kB / 0.9605 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7156, allocations: 0 / 0.9605 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7156, allocations: 1.375 kB / 0.9605 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.7156, allocations: 0 / 0.9605 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.716, allocations: 380.5 kB / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.716, allocations: 0 / 0.9609 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.716, allocations: 17.44 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.716, allocations: 0 / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.716, allocations: 5.359 kB / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.716, allocations: 0 / 0.9609 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.716, allocations: 5.312 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.7163, allocations: 214.4 kB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.7163, allocations: 87.75 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7163, allocations: 0 / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.7164, allocations: 4.125 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.7165, allocations: 14.67 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.7165, allocations: 2.75 kB / 0.9612 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.7165, allocations: 92.89 kB / 0.9613 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7165, allocations: 0 / 0.9613 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003091/0.7168, allocations: 39.97 kB / 0.9613 GB, free: 2.82 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.0003142/0.7172, allocations: 173.4 kB / 0.9615 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.7174, allocations: 75.42 kB / 0.9616 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7174, allocations: 4.062 kB / 0.9616 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.7175, allocations: 47.78 kB / 0.9616 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.7178, allocations: 10.52 kB / 0.9616 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.7181, allocations: 238.2 kB / 0.9619 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.7183, allocations: 0.6846 MB / 0.9625 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.7183, allocations: 14.45 kB / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7183, allocations: 0.9688 kB / 0.9626 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.003156/0.7215, allocations: 1.598 MB / 0.9641 GB, free: 0.8867 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