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.00117/0.00117, 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.001825/0.001825, allocations: 189 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.336/2.336, allocations: 390.2 MB / 0.6642 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 0.8118 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6744, allocations: 140.4 MB / 0.9489 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.00335/0.6778, allocations: 1.547 MB / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.6792, allocations: 0.7476 MB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.6792, allocations: 3.938 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.6793, allocations: 3.938 kB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.6793, allocations: 10.67 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.6798, allocations: 104.6 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.6799, allocations: 70.03 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.68, allocations: 21.64 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.6801, allocations: 37.59 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.6802, allocations: 29.53 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.6802, allocations: 4.125 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.6804, allocations: 85.09 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.6804, allocations: 22.66 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.6804, allocations: 37.42 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.6807, allocations: 136 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6807, allocations: 3.938 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6807, allocations: 0 / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6807, allocations: 0.8125 kB / 0.9517 GB, free: 7.016 MB / 0.7169 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.0005948/0.6813, allocations: 445.4 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6813, allocations: 9.969 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.6814, allocations: 12.08 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.6815, allocations: 177.6 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.6815, allocations: 5.688 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6816, allocations: 4.469 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.6818, allocations: 86 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6818, allocations: 0 / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6819, allocations: 0 / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.6819, allocations: 5.344 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.682, allocations: 36.16 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.6825, allocations: 302 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.6826, allocations: 49.69 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.6827, allocations: 36.23 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.6827, allocations: 1.312 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.6829, allocations: 81.91 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6829, allocations: 0 / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.6833, allocations: 150.5 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6834, allocations: 52.81 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.6835, allocations: 127.7 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.6835, allocations: 30.52 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.6835, allocations: 95.53 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.6835, allocations: 22.25 kB / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.6836, allocations: 29.33 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.6836, allocations: 321.1 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.6837, allocations: 21.23 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.6838, allocations: 65.62 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.6839, allocations: 80.17 kB / 0.9538 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.684, allocations: 4 kB / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002184/0.6842, allocations: 116.7 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6842, allocations: 6.094 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6842, allocations: 1.156 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6842, allocations: 6.672 kB / 0.954 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.6843, allocations: 13.44 kB / 0.954 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.6843, allocations: 6.625 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.6844, allocations: 12.42 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.6844, allocations: 3.469 kB / 0.954 GB, free: 4.781 MB / 0.7169 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 7.628e-05/0.6845, allocations: 123.4 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.6845, allocations: 7.312 kB / 0.9541 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.6846, allocations: 13.62 kB / 0.9541 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.6846, allocations: 1.438 kB / 0.9542 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6846, allocations: 3.984 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6846, allocations: 1.438 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.685, allocations: 388.5 kB / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.685, allocations: 0 / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.6851, allocations: 6.906 kB / 0.9545 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6851, allocations: 5.188 kB / 0.9545 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.6851, allocations: 9.359 kB / 0.9545 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6851, allocations: 3.938 kB / 0.9546 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6851, allocations: 0 / 0.9546 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.6854, allocations: 211.8 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.6854, allocations: 90.05 kB / 0.9548 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.6854, allocations: 1.406 kB / 0.9548 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.6855, allocations: 18.64 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.6856, allocations: 2.594 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6856, allocations: 6.453 kB / 0.9549 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.6856, allocations: 96.8 kB / 0.955 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6856, allocations: 5.438 kB / 0.955 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003089/0.686, allocations: 36.31 kB / 0.955 GB, free: 3.852 MB / 0.7169 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.0003348/0.6863, allocations: 161.7 kB / 0.9552 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.6865, allocations: 77.19 kB / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6866, allocations: 0 / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.6867, allocations: 32.64 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6869, allocations: 11.98 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.6874, allocations: 215.2 kB / 0.9555 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.6875, allocations: 0.6848 MB / 0.9561 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.6875, allocations: 7.859 kB / 0.9561 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.6876, allocations: 10.16 kB / 0.9562 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6876, allocations: 0 / 0.9562 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.003899/0.6915, allocations: 1.406 MB / 0.9575 GB, free: 2.062 MB / 0.7169 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