Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108.6 kB / 15.73 MB, free: 84 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.00185/0.00185, allocations: 200.1 kB / 16.66 MB, free: 6.57 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.474/1.474, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 79.81 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002615/0.3002, allocations: 1.456 MB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007215/0.301, allocations: 459.2 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.301, allocations: 0 / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.3011, allocations: 3.938 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.3011, allocations: 7.875 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3013, allocations: 23.91 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3015, allocations: 51.8 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.3016, allocations: 19.97 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.3017, allocations: 23.92 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.3017, allocations: 19.92 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3017, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.3018, allocations: 4 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.3018, allocations: 15.92 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.3018, allocations: 19.94 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.3019, allocations: 55.8 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3019, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.302, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.302, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005218/0.3025, allocations: 410.7 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3025, allocations: 8.625 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3026, allocations: 8.844 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3027, allocations: 168.3 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3027, allocations: 8.312 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3028, allocations: 8.375 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3029, allocations: 61.98 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.303, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.303, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.303, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3031, allocations: 35.97 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.3035, allocations: 292.7 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.3037, allocations: 38.56 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.3038, allocations: 24.94 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3038, allocations: 7.984 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.304, allocations: 67.38 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.304, allocations: 7.938 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003597/0.3043, allocations: 105.6 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3044, allocations: 51.41 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.3045, allocations: 121.7 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3045, allocations: 25.7 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.3046, allocations: 88.14 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3046, allocations: 15.89 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3046, allocations: 21.72 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3048, allocations: 322.8 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.3048, allocations: 8 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.3049, allocations: 64.19 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3051, allocations: 68.22 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3051, allocations: 0 / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001931/0.3053, allocations: 93.52 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3053, allocations: 4 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3053, allocations: 0 / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3053, allocations: 4 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.3054, allocations: 15.92 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3054, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.3055, allocations: 4 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3055, allocations: 8.359 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.427e-05/0.3056, allocations: 125.9 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.3056, allocations: 7.891 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.3057, allocations: 11.97 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3057, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3057, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3057, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.3061, allocations: 346.4 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3061, allocations: 4 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.3062, allocations: 8.297 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3062, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3062, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3062, allocations: 8 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3062, allocations: 3.938 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3065, allocations: 187.4 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.3065, allocations: 77.11 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3065, allocations: 4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.3066, allocations: 7.984 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3067, allocations: 7.938 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3067, allocations: 11.92 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.3067, allocations: 83.28 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3068, allocations: 4 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002385/0.307, allocations: 8 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.923e-05/0.3071, allocations: 103.2 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3073, allocations: 55.91 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3073, allocations: 0 / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.3074, allocations: 27.92 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3077, allocations: 9.547 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.3081, allocations: 179.6 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3084, allocations: 0.6807 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.3084, allocations: 4.281 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.3085, allocations: 11.44 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3085, allocations: 0 / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.002852/0.3113, allocations: 0.5913 MB / 1.214 GB, free: 2.445 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches