Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002242/0.002242, allocations: 199.6 kB / 16.26 MB, free: 6.621 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.398/2.398, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6997, allocations: 140.4 MB / 0.9491 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002274/0.7021, allocations: 1.556 MB / 0.9506 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.7032, allocations: 0.7416 MB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.7033, allocations: 0 / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.7033, allocations: 3.938 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.7034, allocations: 18.59 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.7039, allocations: 115 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.704, allocations: 89.3 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.7041, allocations: 14.8 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.7042, allocations: 47.3 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.7043, allocations: 37.56 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.7043, allocations: 7.688 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.7045, allocations: 99.08 kB / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.7045, allocations: 32.09 kB / 0.9518 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.7045, allocations: 38.89 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.7048, allocations: 155.1 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7048, allocations: 1.219 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7048, allocations: 0 / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7048, allocations: 0 / 0.952 GB, free: 7.062 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005975/0.7054, allocations: 462.8 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7054, allocations: 9.188 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.7055, allocations: 8.625 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.821e-05/0.7056, allocations: 181.3 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.7056, allocations: 3.656 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.7057, allocations: 9.656 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.7059, allocations: 94.62 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7059, allocations: 0 / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.7059, allocations: 9.375 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7059, allocations: 1.062 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.7061, allocations: 44.41 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.7066, allocations: 323 kB / 0.9531 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.7068, allocations: 65.41 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.7069, allocations: 44.8 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.7069, allocations: 5.312 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.7072, allocations: 95.48 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.7072, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004853/0.7077, allocations: 188.3 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.7077, allocations: 54.25 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.7078, allocations: 131.9 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7078, allocations: 31.11 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.7079, allocations: 90.94 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7079, allocations: 32.16 kB / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.708, allocations: 31.67 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.708, allocations: 321.1 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.7081, allocations: 31.22 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/0.7082, allocations: 70.34 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.7084, allocations: 116.3 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7084, allocations: 1.125 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002388/0.7087, allocations: 130.9 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7087, allocations: 5.844 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7087, allocations: 1.5 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7087, allocations: 2.781 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.7088, allocations: 27.55 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7088, allocations: 2.875 kB / 0.9545 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.7089, allocations: 8.625 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.7089, allocations: 4.281 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.767e-05/0.709, allocations: 129.1 kB / 0.9546 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.709, allocations: 8.094 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.7091, allocations: 9.531 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7091, allocations: 4.969 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7091, allocations: 1.156 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7091, allocations: 3.938 kB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.7095, allocations: 437.5 kB / 0.9551 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7095, allocations: 1.125 kB / 0.9551 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.7096, allocations: 6.797 kB / 0.9551 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7096, allocations: 1.5 kB / 0.9551 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.7096, allocations: 5.219 kB / 0.9551 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7096, allocations: 4.969 kB / 0.9551 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7096, allocations: 3.938 kB / 0.9551 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.7099, allocations: 245 kB / 0.9553 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.71, allocations: 87.64 kB / 0.9554 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.71, allocations: 5.016 kB / 0.9554 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7101, allocations: 11.19 kB / 0.9554 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.7102, allocations: 11.45 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.7102, allocations: 7.375 kB / 0.9554 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.7102, allocations: 101 kB / 0.9555 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7102, allocations: 0 / 0.9555 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/0.7105, allocations: 43.33 kB / 0.9556 GB, free: 3.719 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003129/0.7109, allocations: 163.7 kB / 0.9557 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.7111, allocations: 97.39 kB / 0.9558 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7111, allocations: 0 / 0.9558 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.7113, allocations: 55.03 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.7116, allocations: 13.3 kB / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.712, allocations: 224.5 kB / 0.9561 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.7122, allocations: 0.6923 MB / 0.9568 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.7122, allocations: 7.562 kB / 0.9568 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.7122, allocations: 12.31 kB / 0.9568 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7122, allocations: 0 / 0.9568 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.004535/0.7168, allocations: 1.659 MB / 0.9584 GB, free: 1.773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches