Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 99.03 kB / 16.02 MB, free: 76 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.001265/0.001265, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 6.344 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3091, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001515/0.3107, allocations: 1.202 MB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3118, allocations: 0.7207 MB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.3119, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.3119, allocations: 7.875 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.312, allocations: 15.92 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3124, allocations: 103.8 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.3125, allocations: 67.83 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.3126, allocations: 8 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.3127, allocations: 31.84 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.3128, allocations: 39.83 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3128, allocations: 8 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.313, allocations: 83.91 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.313, allocations: 15.92 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.3131, allocations: 57.55 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.3132, allocations: 96.05 kB / 1.062 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3133, allocations: 7.938 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3133, allocations: 0 / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3133, allocations: 3.938 kB / 1.062 GB, free: 2.5 MB / 0.8106 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.0005449/0.3138, allocations: 405.1 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3139, allocations: 11.97 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3139, allocations: 8.844 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.314, allocations: 180.2 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3141, allocations: 4.375 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3141, allocations: 8.375 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3143, allocations: 69.97 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3143, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3143, allocations: 4 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3143, allocations: 4 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3144, allocations: 43.91 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.315, allocations: 324.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3151, allocations: 50.56 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.3152, allocations: 32.97 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3152, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.3154, allocations: 95.38 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3155, allocations: 0 / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003771/0.3158, allocations: 137.9 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.3159, allocations: 59.41 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.316, allocations: 129.7 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.316, allocations: 25.7 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.3161, allocations: 92.14 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.3161, allocations: 15.73 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3161, allocations: 17.72 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.3162, allocations: 326.8 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.3163, allocations: 31.98 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.3164, allocations: 54.48 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3166, allocations: 86.55 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3166, allocations: 4 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002578/0.3169, allocations: 117.5 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3169, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3169, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3169, allocations: 4.062 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.317, allocations: 23.92 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.317, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.3171, allocations: 8 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3171, allocations: 7.984 kB / 1.064 GB, free: 15.91 MB / 0.8262 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 8.371e-05/0.3172, allocations: 117.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3172, allocations: 7.906 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.3172, allocations: 16.31 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3173, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.3177, allocations: 394.3 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3177, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.3177, allocations: 7.984 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3178, allocations: 4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3178, allocations: 4 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3178, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3178, allocations: 3.938 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3181, allocations: 219.3 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.3181, allocations: 89 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3181, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.3182, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3183, allocations: 7.922 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.3183, allocations: 4 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.3183, allocations: 91.27 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3183, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002973/0.3186, allocations: 43.92 kB / 1.065 GB, free: 14.82 MB / 0.8262 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.000325/0.319, allocations: 160.3 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3192, allocations: 80.12 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3192, allocations: 4.125 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.3193, allocations: 39.97 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.3196, allocations: 7.984 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.32, allocations: 244.8 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3202, allocations: 0.6887 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.3202, allocations: 11.44 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3202, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.003172/0.3234, allocations: 1.603 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches