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.001408/0.001412, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.613/2.613, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7052, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003005/0.7083, allocations: 1.485 MB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7096, allocations: 0.7478 MB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.7096, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.7097, allocations: 3.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.7098, allocations: 11.88 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.7104, allocations: 127.5 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.7105, allocations: 71.78 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.7106, allocations: 16.16 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.7107, allocations: 31.86 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.7108, allocations: 35.97 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.7108, allocations: 12 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.711, allocations: 91.78 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.7111, allocations: 19.91 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.7111, allocations: 31.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.7114, allocations: 145.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7114, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7114, allocations: 3.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7114, allocations: 0 / 1.02 GB, free: 15.67 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.0005929/0.712, allocations: 458.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.712, allocations: 8.031 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.7121, allocations: 8.844 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7122, allocations: 180.2 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.7122, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.7123, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.7125, allocations: 73.77 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7125, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7125, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7125, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.7127, allocations: 39.92 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.7132, allocations: 304.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.7134, allocations: 46.56 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.7135, allocations: 36.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.7135, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.7138, allocations: 91.2 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.7138, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000442/0.7142, allocations: 141.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7143, allocations: 55.41 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.7144, allocations: 129.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7144, allocations: 29.7 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.7145, allocations: 88.14 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.7145, allocations: 19.69 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.7146, allocations: 29.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7147, allocations: 326.8 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.7148, allocations: 23.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.7149, allocations: 69.02 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.7151, allocations: 93.06 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7151, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002404/0.7153, allocations: 113.4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7154, allocations: 8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.7154, allocations: 320 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.7154, allocations: 160 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.7155, allocations: 23.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7155, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.7156, allocations: 8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.7156, allocations: 3.984 kB / 1.022 GB, free: 13.02 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 0.0001175/0.7157, allocations: 131.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.7158, allocations: 7.906 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.7158, allocations: 4.375 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7158, allocations: 4 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7158, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.7158, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.7164, allocations: 394.3 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7164, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.7164, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7164, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.7165, allocations: 4.047 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.7165, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7165, allocations: 7.984 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.7168, allocations: 207.4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.7169, allocations: 92.94 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.7169, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.717, allocations: 7.938 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.717, allocations: 7.984 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.7171, allocations: 8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.7171, allocations: 103.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7171, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003165/0.7175, allocations: 39.98 kB / 1.023 GB, free: 11.91 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.0003462/0.7178, allocations: 154.8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.7181, allocations: 75.89 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7181, allocations: 3.938 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.7182, allocations: 35.97 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.7185, allocations: 10.44 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.7189, allocations: 192.7 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7193, allocations: 0.6885 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.7193, allocations: 7.938 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.7193, allocations: 11.44 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7193, allocations: 4 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.004096/0.7235, allocations: 1.501 MB / 1.026 GB, free: 9.199 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