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.007209/0.007209, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.001533/0.001534, allocations: 192 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.84 kB / 1.018 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9028/0.9043, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002651/0.907, allocations: 1.496 MB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.9083, allocations: 0.744 MB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.9084, allocations: 3.938 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.9084, allocations: 3.938 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.9085, allocations: 11.81 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.909, allocations: 123.6 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.9092, allocations: 71.78 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.9093, allocations: 16.17 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.289e-05/0.9094, allocations: 35.91 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.9094, allocations: 31.84 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.9095, allocations: 8 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.9096, allocations: 95.84 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.9097, allocations: 19.92 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.9097, allocations: 31.84 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.91, allocations: 152 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.91, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.91, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.91, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 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.0006341/0.9107, allocations: 454.4 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9107, allocations: 8.625 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.9108, allocations: 8.891 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.9109, allocations: 180.2 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.9109, allocations: 4.375 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.911, allocations: 12.38 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.9112, allocations: 69.78 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.9112, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.9112, allocations: 3.984 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9112, allocations: 3.938 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.9114, allocations: 39.97 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.9119, allocations: 312.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.9121, allocations: 42.56 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.9122, allocations: 36.97 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.9122, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.9124, allocations: 87.33 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.9124, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004288/0.9129, allocations: 145.5 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.9129, allocations: 63.41 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.9131, allocations: 126.7 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.9131, allocations: 25.7 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.9131, allocations: 92.14 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.9132, allocations: 15.84 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.9132, allocations: 33.7 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9134, allocations: 322.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.9134, allocations: 19.98 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.9135, allocations: 61.14 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.9137, allocations: 93 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9137, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002642/0.914, allocations: 117.4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.914, allocations: 8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.914, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.914, allocations: 4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.9141, allocations: 11.98 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9141, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.9142, allocations: 12 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.9142, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 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.583e-05/0.9143, allocations: 129.9 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.9144, allocations: 7.953 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.9144, allocations: 8.375 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9144, allocations: 4 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.9144, allocations: 0 / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9144, allocations: 0 / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.9148, allocations: 386.4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9149, allocations: 8 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.9149, allocations: 3.984 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9149, allocations: 7.938 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9149, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.9149, allocations: 3.938 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.915, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.9153, allocations: 215.4 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.9154, allocations: 92.94 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.9154, allocations: 4 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.9155, allocations: 3.938 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.9156, allocations: 11.92 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.9156, allocations: 8 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.9157, allocations: 92.89 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9157, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002949/0.916, allocations: 39.92 kB / 1.173 GB, free: 13.18 MB / 0.9044 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.0003206/0.9163, allocations: 166.9 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.9165, allocations: 68.38 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9165, allocations: 0 / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.9166, allocations: 36.28 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.9169, allocations: 22.72 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.9173, allocations: 192.1 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.9176, allocations: 0.6923 MB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.9176, allocations: 4 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.9177, allocations: 19.44 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/0.9177, allocations: 0 / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.004313/0.922, allocations: 1.488 MB / 1.175 GB, free: 10.47 MB / 0.9044 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