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.001114/0.001114, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 240 MB, free: 5.41 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.725/2.725, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004075, allocations: 15.92 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7841, allocations: 153.8 MB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001635/0.7858, allocations: 1.184 MB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.7865, allocations: 411.4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.7866, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.7866, allocations: 7.922 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.7867, allocations: 11.92 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.7869, allocations: 19.98 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.787, allocations: 47.8 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.7871, allocations: 7.984 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.7872, allocations: 23.91 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.7873, allocations: 19.92 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.7873, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.7873, allocations: 4 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.7873, allocations: 7.938 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.7874, allocations: 33.7 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.978e-05/0.7875, allocations: 29.91 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7875, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.572e-06/0.7875, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7875, allocations: 0 / 1.024 GB, free: 14.28 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.0004814/0.788, allocations: 406.6 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.788, allocations: 12.56 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.7881, allocations: 7.906 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.7882, allocations: 171 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.7882, allocations: 3.938 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.7883, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7885, allocations: 69.61 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7885, allocations: 3.938 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.7885, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7885, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.7886, allocations: 43.97 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.789, allocations: 276.9 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.7892, allocations: 50.48 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.7893, allocations: 32.94 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.7893, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.7895, allocations: 79.39 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.7895, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003668/0.7899, allocations: 125.5 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.7899, allocations: 59.41 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.79, allocations: 118 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.79, allocations: 29.7 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.7901, allocations: 88.14 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7901, allocations: 11.75 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.7901, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7902, allocations: 326.8 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.7903, allocations: 19.98 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.7904, allocations: 44.28 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.7905, allocations: 35.88 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7905, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001945/0.7907, allocations: 97.61 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7907, allocations: 8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7907, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7907, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.7908, allocations: 19.91 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7908, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.7909, allocations: 4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.7909, allocations: 4 kB / 1.026 GB, free: 11.91 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 ($PRE.bli.blindState,bli.blindState,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.791, allocations: 121.9 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.791, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.791, allocations: 11.95 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.791, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7911, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7911, allocations: 3.938 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.7915, allocations: 362.4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7915, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.7915, allocations: 8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7915, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.7916, allocations: 3.984 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.7916, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7916, allocations: 384 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.7918, allocations: 195.4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.7919, allocations: 85.39 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.7919, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.792, allocations: 19.92 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.792, allocations: 8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.792, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.7921, allocations: 91.27 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7921, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002328/0.7923, allocations: 8 kB / 1.027 GB, free: 10.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001064/0.7925, allocations: 103.2 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.7927, allocations: 67.89 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7927, allocations: 4 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.7928, allocations: 27.98 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.793, allocations: 15.92 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.7934, allocations: 180.6 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.7937, allocations: 0.6809 MB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.7937, allocations: 11.98 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.7937, allocations: 19.38 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7937, allocations: 0 / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of Templates: time 0.002514/0.7963, allocations: 480.9 kB / 1.029 GB, free: 9.281 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