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.001105/0.001105, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.01055/0.01055, allocations: 174.1 kB / 16.27 MB, free: 6.676 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.531/1.531, allocations: 223.2 MB / 240.3 MB, free: 5.344 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.706/2.706, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004129, allocations: 8.281 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6827, allocations: 153.8 MB / 1.023 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001667/0.6844, allocations: 1.211 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.6857, allocations: 0.7286 MB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.6857, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.6858, allocations: 3.938 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.6858, allocations: 15.92 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.6863, allocations: 103.7 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.6864, allocations: 71.78 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.6865, allocations: 8.172 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.6866, allocations: 23.92 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.011e-05/0.6867, allocations: 39.83 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.6867, allocations: 8 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.6869, allocations: 91.84 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.687, allocations: 19.91 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.687, allocations: 49.56 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.6873, allocations: 141.7 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6873, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6873, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.6873, allocations: 0 / 1.025 GB, free: 13.58 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.0005781/0.6879, allocations: 438.6 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.6879, allocations: 8.031 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.688, allocations: 4.938 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6881, allocations: 180 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.6882, allocations: 16.31 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.6882, allocations: 8.312 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.6884, allocations: 77.77 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6884, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6884, allocations: 8 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6884, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.6886, allocations: 51.94 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.6891, allocations: 300.7 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.6892, allocations: 54.5 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.6894, allocations: 36.97 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.6894, allocations: 3.984 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.6896, allocations: 87.38 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6896, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004153/0.69, allocations: 153.5 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6901, allocations: 55.41 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.6902, allocations: 129.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6902, allocations: 29.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.6902, allocations: 88.14 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.6903, allocations: 15.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.6903, allocations: 17.72 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6904, allocations: 326.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.6905, allocations: 27.92 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.6906, allocations: 65.14 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6908, allocations: 101 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.6908, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002303/0.691, allocations: 121.5 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.691, allocations: 9.875 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.691, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6911, allocations: 4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.6912, allocations: 11.98 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.6912, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.6912, allocations: 11.84 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.6913, allocations: 4 kB / 1.028 GB, free: 10.91 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.0001154/0.6914, allocations: 138.3 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.6914, allocations: 3.906 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.6914, allocations: 8.375 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6915, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6915, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6915, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.692, allocations: 394.5 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.692, allocations: 3.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.692, allocations: 7.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.692, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.6921, allocations: 7.938 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6921, allocations: 3.938 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6921, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.6924, allocations: 215.4 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.6925, allocations: 92.94 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.6925, allocations: 4 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.605e-05/0.6926, allocations: 7.938 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.6927, allocations: 7.984 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.6927, allocations: 11.94 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.6927, allocations: 95.27 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6927, allocations: 0 / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003267/0.6931, allocations: 39.98 kB / 1.029 GB, free: 9.785 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.000382/0.6935, allocations: 161.3 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.6938, allocations: 75.89 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6938, allocations: 0 / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6939, allocations: 47.95 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.6943, allocations: 12.19 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.6949, allocations: 221.1 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6952, allocations: 0.6915 MB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.237e-05/0.6953, allocations: 7.984 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.6953, allocations: 11.44 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.6953, allocations: 0 / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.004794/0.7001, allocations: 1.378 MB / 1.031 GB, free: 7.152 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