Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001343/0.001343, allocations: 195.2 kB / 16.25 MB, free: 6.633 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.529/1.529, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.767/2.767, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 72.11 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6827, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002913/0.6857, allocations: 1.569 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.687, allocations: 0.7363 MB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.687, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.6871, allocations: 7.922 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.6872, allocations: 15.86 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.6877, allocations: 115.7 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.6879, allocations: 91.83 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.688, allocations: 15.92 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.6881, allocations: 43.84 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.6881, allocations: 43.83 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6882, allocations: 8 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.6884, allocations: 95.91 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.6884, allocations: 19.97 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.6885, allocations: 43.81 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.6887, allocations: 149.5 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6887, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6887, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6888, allocations: 0 / 1.02 GB, free: 15.85 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007034/0.6895, allocations: 466.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6895, allocations: 8.031 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.6896, allocations: 12.84 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.6897, allocations: 184.1 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.6897, allocations: 8.359 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6898, allocations: 8.375 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.69, allocations: 89.89 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.69, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.6901, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.6901, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.6902, allocations: 43.97 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.6909, allocations: 324.6 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.691, allocations: 66.55 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.6911, allocations: 40.84 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.6912, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.6914, allocations: 99.39 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.6914, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005084/0.6919, allocations: 185.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.692, allocations: 59.41 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6921, allocations: 121.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.6922, allocations: 33.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.6922, allocations: 96.5 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.6923, allocations: 23.66 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.6923, allocations: 33.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6925, allocations: 322.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.6926, allocations: 27.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.6927, allocations: 77.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.6929, allocations: 105.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6929, allocations: 3.984 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002576/0.6932, allocations: 133.4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6932, allocations: 6.344 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6932, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6932, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.6933, allocations: 23.86 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.6933, allocations: 8.531 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.6934, allocations: 15.84 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.6934, allocations: 11.98 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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 0.0001214/0.6936, allocations: 127.3 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.6936, allocations: 11.88 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.6936, allocations: 8.375 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6936, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6936, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6936, allocations: 3.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.6942, allocations: 434.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6942, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.6943, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6943, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.6943, allocations: 3.984 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6943, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6943, allocations: 3.938 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.6947, allocations: 251.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.6948, allocations: 88.94 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.6948, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.6949, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.695, allocations: 11.92 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.695, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.695, allocations: 99.27 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.695, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002973/0.6953, allocations: 43.98 kB / 1.023 GB, free: 11.78 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.0003884/0.6957, allocations: 167 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.696, allocations: 99.89 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.696, allocations: 3.938 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.6962, allocations: 47.91 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.6965, allocations: 16.73 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.6969, allocations: 224.6 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6973, allocations: 0.6885 MB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.6973, allocations: 4.188 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.6973, allocations: 19.42 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6974, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.004864/0.7022, allocations: 1.669 MB / 1.026 GB, free: 8.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches