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.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.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.001291/0.00129, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001571/0.001572, allocations: 177.3 kB / 15.94 MB, free: 228 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.342/1.342, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.685, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.001451/0.6865, allocations: 1.168 MB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000589/0.6871, allocations: 415.5 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.6871, allocations: 3.938 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.6871, allocations: 7.984 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.6872, allocations: 7.984 kB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.6873, allocations: 23.86 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.6874, allocations: 31.95 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.6875, allocations: 4 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.6876, allocations: 23.91 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.6876, allocations: 19.92 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.6877, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.6877, allocations: 4 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.6877, allocations: 11.98 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.6877, allocations: 33.64 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.357e-05/0.6878, allocations: 25.92 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.6878, allocations: 7.938 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6878, allocations: 3.984 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.6878, allocations: 0 / 1.023 GB, free: 15.32 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.0004406/0.6883, allocations: 402.6 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6883, allocations: 15.98 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.6884, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6885, allocations: 174.9 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6885, allocations: 4 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.6885, allocations: 4 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.6887, allocations: 65.56 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.6887, allocations: 0 / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6887, allocations: 11.98 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6887, allocations: 4 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.6889, allocations: 31.98 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.6893, allocations: 288.8 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.6894, allocations: 42.5 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.6894, allocations: 4 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.6896, allocations: 79.47 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.6896, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003636/0.69, allocations: 125.5 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.69, allocations: 63.34 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.6901, allocations: 110 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.6902, allocations: 29.7 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.6902, allocations: 88.12 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.6902, allocations: 15.75 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.6902, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6904, allocations: 314.8 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.6904, allocations: 23.98 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.6905, allocations: 48.66 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/0.6906, allocations: 27.98 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6906, allocations: 3.953 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001965/0.6908, allocations: 93.55 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6908, allocations: 9.812 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6908, allocations: 4.156 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.6909, allocations: 7.984 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.6909, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.691, allocations: 7.938 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.691, allocations: 7.906 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.691, allocations: 7.984 kB / 1.025 GB, free: 12.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 ($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 7.561e-05/0.6911, allocations: 117.8 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.6911, allocations: 3.953 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.6912, allocations: 15.97 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6912, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6912, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6912, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.6916, allocations: 366.4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6916, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.6917, allocations: 7.984 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.6917, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.6917, allocations: 3.938 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6917, allocations: 0 / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6917, allocations: 160 / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.6919, allocations: 195.5 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.692, allocations: 81.02 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.692, allocations: 4.312 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.6921, allocations: 15.98 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.6922, allocations: 11.98 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.6922, allocations: 4 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.6922, allocations: 87.28 kB / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6922, allocations: 0 / 1.025 GB, free: 12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002307/0.6925, allocations: 8 kB / 1.025 GB, free: 11.99 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.0001214/0.6926, allocations: 103.5 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.6928, allocations: 67.97 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6928, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.6929, allocations: 35.92 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.6931, allocations: 8.5 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.6934, allocations: 183.7 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.6936, allocations: 0.6887 MB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.6937, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.6937, allocations: 11.42 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6937, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.002109/0.6958, allocations: 489.2 kB / 1.027 GB, free: 10.37 MB / 0.7794 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","../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches