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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001595/0.001595, allocations: 108 kB / 15.61 MB, free: 152 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.001632/0.001632, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 59.91 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6678, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002463/0.6703, allocations: 1.456 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.671, allocations: 458.9 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.6711, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.6711, allocations: 3.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.6712, allocations: 19.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.6713, allocations: 23.86 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.6714, allocations: 51.8 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.6715, allocations: 11.98 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.6716, allocations: 27.97 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.6717, allocations: 19.86 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.6717, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.6717, allocations: 4 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.6718, allocations: 11.98 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.6718, allocations: 19.88 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.828e-05/0.6719, allocations: 53.77 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6719, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6719, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.6719, allocations: 4 kB / 1.019 GB, free: 396 kB / 0.7637 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.0004848/0.6724, allocations: 406.7 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.6725, allocations: 12.03 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.6725, allocations: 4.844 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.6726, allocations: 180.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6727, allocations: 4.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.6727, allocations: 384 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.6728, allocations: 65.98 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.6729, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.6729, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.6729, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.673, allocations: 35.97 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.6734, allocations: 276.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.6736, allocations: 42.56 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.6736, allocations: 24.94 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6737, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6738, allocations: 75.36 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6739, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003557/0.6742, allocations: 113.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.6743, allocations: 59.41 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.6743, allocations: 113.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6744, allocations: 29.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.6744, allocations: 88.14 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.6745, allocations: 15.73 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.6745, allocations: 21.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.6746, allocations: 330.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.6747, allocations: 12 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.6748, allocations: 48.27 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.6749, allocations: 72.16 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6749, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001893/0.6751, allocations: 81.73 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6751, allocations: 15.97 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6752, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6752, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.6753, allocations: 11.92 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6753, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.6753, allocations: 7.906 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.6754, allocations: 3.984 kB / 1.021 GB, free: 13.99 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 7.928e-05/0.6754, allocations: 119.1 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.6755, allocations: 8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.6755, allocations: 7.969 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6755, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6755, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6755, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.6759, allocations: 342.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6759, allocations: 4.062 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.676, allocations: 7.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.676, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.676, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.676, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.676, allocations: 7.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.6763, allocations: 183.4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.6763, allocations: 81.02 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.6763, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.6764, allocations: 8.359 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.6765, allocations: 7.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.6765, allocations: 3.984 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.6765, allocations: 91.22 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6765, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.6768, allocations: 8 kB / 1.022 GB, free: 13.01 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 8.445e-05/0.6769, allocations: 107.2 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6771, allocations: 59.91 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6771, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.6772, allocations: 27.92 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.6774, allocations: 14.09 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.6778, allocations: 156.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.678, allocations: 0.6845 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.6781, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.6781, allocations: 15.42 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6781, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.00249/0.6806, allocations: 0.5774 MB / 1.024 GB, free: 11.33 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/jenkins/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