Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.0009568/0.0009568, allocations: 92.16 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.001193/0.001193, allocations: 182 kB / 16.92 MB, free: 6.922 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003985, allocations: 11.98 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6997, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001672/0.7014, allocations: 1.192 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.7021, allocations: 451 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.7022, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.7022, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.7023, allocations: 3.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.7025, allocations: 23.92 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.7026, allocations: 47.78 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.7026, allocations: 11.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.7028, allocations: 23.92 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.7028, allocations: 15.92 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.7028, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.7029, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.7029, allocations: 7.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.7029, allocations: 49.61 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.441e-05/0.703, allocations: 29.92 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.703, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.517e-06/0.703, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.703, allocations: 3.938 kB / 1.025 GB, free: 13.98 MB / 0.7794 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.0004558/0.7035, allocations: 398.8 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7035, allocations: 12.03 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.7036, allocations: 8.828 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.7037, allocations: 176.3 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.7037, allocations: 12.31 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.7038, allocations: 384 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.7039, allocations: 65.98 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.704, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.704, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.704, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.7041, allocations: 43.97 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.7046, allocations: 284.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.7047, allocations: 46.56 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.7048, allocations: 32.92 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.7048, allocations: 3.984 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.705, allocations: 75.39 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 3.176e-06/0.705, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003705/0.7054, allocations: 129.6 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.7054, allocations: 51.41 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.7055, allocations: 117.8 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7056, allocations: 29.7 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.7056, allocations: 88.12 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.7057, allocations: 15.84 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7057, allocations: 9.719 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7058, allocations: 330.8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.7059, allocations: 19.98 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.706, allocations: 52.22 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.7061, allocations: 72.22 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7061, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002045/0.7063, allocations: 101.5 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7064, allocations: 8 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7064, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.7064, allocations: 4 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.7065, allocations: 12.19 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7065, allocations: 3.938 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.7066, allocations: 16.14 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.7066, allocations: 8.375 kB / 1.028 GB, free: 11.52 MB / 0.7794 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.536e-05/0.7067, allocations: 118.2 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.7067, allocations: 11.91 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.7067, allocations: 3.969 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7067, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7067, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7067, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.7072, allocations: 362.4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7072, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.7072, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7072, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.7072, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7072, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7072, allocations: 7.922 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.7075, allocations: 191.4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.7076, allocations: 89.09 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.7076, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.7077, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.7077, allocations: 11.92 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7077, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.7078, allocations: 91.27 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7078, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002463/0.7081, allocations: 12 kB / 1.029 GB, free: 10.52 MB / 0.7794 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.667e-05/0.7082, allocations: 103.4 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.7084, allocations: 59.91 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7084, allocations: 0 / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.7085, allocations: 40.22 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.7088, allocations: 8 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.7091, allocations: 221.9 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.7095, allocations: 0.6848 MB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.7095, allocations: 11.44 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7095, allocations: 0 / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.002425/0.7119, allocations: 0.739 MB / 1.03 GB, free: 8.598 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches