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.001434/0.001434, 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.001726/0.001726, allocations: 197.9 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.359/2.359, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.701, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002472/0.7035, allocations: 1.568 MB / 0.9504 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.7046, allocations: 0.7484 MB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.7047, allocations: 3.938 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.7047, allocations: 5.359 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.7048, allocations: 9.25 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.7053, allocations: 106.3 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.7054, allocations: 87.92 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7055, allocations: 21.62 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.7056, allocations: 41.03 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.7057, allocations: 44.16 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.7057, allocations: 5.344 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.7058, allocations: 90.44 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.7059, allocations: 15.98 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.7059, allocations: 34.02 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.7061, allocations: 146.7 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7061, allocations: 1.719 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7061, allocations: 4 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7062, allocations: 0 / 0.9518 GB, free: 7.008 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.0004988/0.7067, allocations: 469.2 kB / 0.9522 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7067, allocations: 9.719 kB / 0.9522 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.7068, allocations: 9.094 kB / 0.9522 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.675e-05/0.7068, allocations: 173.9 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.7069, allocations: 12 kB / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.7069, allocations: 7.891 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.7071, allocations: 95.42 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.7071, allocations: 0 / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.7071, allocations: 1.188 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7071, allocations: 1.281 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.7073, allocations: 47.89 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.7078, allocations: 326.8 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.708, allocations: 62.94 kB / 0.9529 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.7081, allocations: 43.89 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.7081, allocations: 0.875 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.7083, allocations: 100.1 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.7083, allocations: 4 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004742/0.7088, allocations: 184.5 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.7089, allocations: 61.77 kB / 0.9533 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.7089, allocations: 123.8 kB / 0.9534 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.709, allocations: 31.05 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.709, allocations: 91.98 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.709, allocations: 23.41 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.7091, allocations: 39.77 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.7091, allocations: 325.4 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.728e-05/0.7092, allocations: 23.33 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.7093, allocations: 76.42 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.7095, allocations: 107.2 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7095, allocations: 1 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002391/0.7098, allocations: 135.7 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7098, allocations: 5.906 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7098, allocations: 1.094 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7098, allocations: 3.688 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.7099, allocations: 23.2 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7099, allocations: 5.375 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.71, allocations: 13.69 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.71, allocations: 5.5 kB / 0.9543 GB, free: 4.637 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 6.774e-05/0.7101, allocations: 132.9 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.7101, allocations: 12.28 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.7101, allocations: 5.469 kB / 0.9544 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7102, allocations: 1.156 kB / 0.9544 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7102, allocations: 0.9688 kB / 0.9544 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7102, allocations: 0 / 0.9544 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.7106, allocations: 441.6 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7106, allocations: 0 / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.7107, allocations: 8.172 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7107, allocations: 1.125 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.7107, allocations: 1.531 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.7107, allocations: 7.984 kB / 0.9549 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.7107, allocations: 3.938 kB / 0.9549 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.711, allocations: 249.4 kB / 0.9551 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.711, allocations: 91.78 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.7111, allocations: 1.25 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.7112, allocations: 2.719 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.7112, allocations: 15.8 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7112, allocations: 2.125 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.7113, allocations: 97.8 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7113, allocations: 0 / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003151/0.7116, allocations: 43.52 kB / 0.9554 GB, free: 3.668 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.0003033/0.7119, allocations: 171.4 kB / 0.9555 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.7122, allocations: 88.33 kB / 0.9556 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7122, allocations: 4.312 kB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.7123, allocations: 54.09 kB / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.7126, allocations: 14.02 kB / 0.9557 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.713, allocations: 218.8 kB / 0.9559 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.7131, allocations: 0.6922 MB / 0.9566 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.7132, allocations: 4.656 kB / 0.9566 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.7132, allocations: 15.06 kB / 0.9566 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7132, allocations: 0 / 0.9566 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.004017/0.7172, allocations: 1.622 MB / 0.9582 GB, free: 1.738 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