Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001423/0.001423, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.937/2.937, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6968, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002769/0.6997, allocations: 1.546 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.7009, allocations: 0.7596 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.701, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.7011, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.7011, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.7017, allocations: 103.8 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7018, allocations: 67.78 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.7019, allocations: 16.17 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.702, allocations: 35.84 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.7021, allocations: 31.84 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.7021, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.7023, allocations: 91.84 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.7023, allocations: 11.98 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.7024, allocations: 39.78 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.7026, allocations: 133.6 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7026, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7027, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.7027, allocations: 0 / 1.019 GB, free: 15.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000601/0.7033, allocations: 448.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7033, allocations: 12.03 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.7034, allocations: 8.844 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.7035, allocations: 180.2 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.7035, allocations: 384 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.7036, allocations: 12.31 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.7038, allocations: 77.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7038, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7038, allocations: 3.984 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.7038, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.704, allocations: 35.97 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.7045, allocations: 312.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.7046, allocations: 54.48 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/0.7047, allocations: 28.97 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.7047, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.7049, allocations: 87.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.705, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004202/0.7054, allocations: 153.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.7054, allocations: 51.41 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.7055, allocations: 124.3 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7056, allocations: 33.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.7056, allocations: 84.14 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.7056, allocations: 19.75 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.7057, allocations: 33.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7058, allocations: 326.8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.7059, allocations: 19.98 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.706, allocations: 57.14 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.7062, allocations: 93.06 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7062, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.7064, allocations: 121.4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.7064, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7064, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7064, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.7065, allocations: 15.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7066, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.7066, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.7066, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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 9.167e-05/0.7067, allocations: 140.9 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.7068, allocations: 3.906 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.7068, allocations: 8.375 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7068, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7068, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7068, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.7073, allocations: 394.4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7073, allocations: 7.938 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.7073, allocations: 11.92 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7073, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7074, allocations: 3.938 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7074, allocations: 3.938 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7074, allocations: 8 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.7077, allocations: 199.5 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.7077, allocations: 100.9 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.7077, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.7078, allocations: 7.938 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.7079, allocations: 3.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.7079, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.708, allocations: 99.27 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.708, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003005/0.7083, allocations: 35.98 kB / 1.023 GB, free: 12.16 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003474/0.7086, allocations: 165.9 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.7089, allocations: 68.38 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7089, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.709, allocations: 40.28 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.7093, allocations: 11.94 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.7097, allocations: 214 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.71, allocations: 0.6926 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.71, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.7101, allocations: 11.44 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.7101, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.00434/0.7144, allocations: 1.402 MB / 1.025 GB, free: 9.523 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time