Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008146/0.008146, allocations: 101.4 kB / 15.73 MB, free: 6.477 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.001888/0.001889, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.45 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3076, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003086/0.3107, allocations: 1.494 MB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3122, allocations: 0.7492 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3123, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3124, allocations: 11.81 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.3125, allocations: 11.88 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.3132, allocations: 123.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3134, allocations: 71.78 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3135, allocations: 20.16 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3136, allocations: 39.84 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3137, allocations: 31.84 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3137, allocations: 8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.314, allocations: 95.84 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.314, allocations: 15.97 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.3141, allocations: 35.8 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3144, allocations: 139.6 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3144, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3144, allocations: 4 kB / 1.091 GB, free: 14.69 MB / 0.8575 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.0006584/0.3151, allocations: 442.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3151, allocations: 12.03 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3152, allocations: 4.844 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.3153, allocations: 180.2 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3153, allocations: 8.312 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3153, allocations: 4.375 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3156, allocations: 77.78 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3156, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3156, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3156, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3158, allocations: 43.91 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.3163, allocations: 308.6 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3164, allocations: 54.5 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.3165, allocations: 28.97 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3166, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.3168, allocations: 79.36 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3168, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004322/0.3173, allocations: 153.5 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3173, allocations: 55.41 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3174, allocations: 124.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3174, allocations: 33.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3175, allocations: 84.14 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3175, allocations: 15.81 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3176, allocations: 29.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3177, allocations: 322.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.3178, allocations: 27.98 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.3179, allocations: 61.08 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.318, allocations: 93 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.318, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.3183, allocations: 113.4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3183, allocations: 4.156 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3183, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3183, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.3184, allocations: 15.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3185, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.3185, allocations: 7.906 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3186, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 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.0001015/0.3187, allocations: 132.2 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.3187, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.3187, allocations: 20.31 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3187, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3187, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3188, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.3192, allocations: 394.3 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3192, allocations: 48 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3193, allocations: 11.97 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3193, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3193, allocations: 8 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3193, allocations: 3.938 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3193, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3196, allocations: 219.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3197, allocations: 81.11 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3197, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3199, allocations: 11.94 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3199, allocations: 7.984 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3199, allocations: 4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.32, allocations: 95.27 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.463e-06/0.32, allocations: 0 / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003287/0.3203, allocations: 47.83 kB / 1.094 GB, free: 10.94 MB / 0.8575 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.0003793/0.3207, allocations: 165.6 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.321, allocations: 63.91 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.321, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3211, allocations: 43.97 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.3214, allocations: 7.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.3219, allocations: 200.7 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.3221, allocations: 0.6885 MB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3222, allocations: 7.75 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3222, allocations: 11.44 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3222, allocations: 0 / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.004633/0.3269, allocations: 1.508 MB / 1.097 GB, free: 8.215 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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