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.001083/0.001083, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001105/0.001105, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.316/2.316, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7171, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002356/0.7195, allocations: 1.567 MB / 0.9504 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00096/0.7205, allocations: 0.7484 MB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.7205, allocations: 1.375 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.7205, allocations: 3.938 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.7206, allocations: 9.297 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.7211, allocations: 105.5 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.7212, allocations: 93.16 kB / 0.9514 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.7213, allocations: 18.27 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.7213, allocations: 40.09 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.7214, allocations: 40.67 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.7214, allocations: 4.219 kB / 0.9515 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.7216, allocations: 90.34 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.7216, allocations: 20.53 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.7217, allocations: 38.55 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.7219, allocations: 154.9 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7219, allocations: 0 / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7219, allocations: 0 / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.7219, allocations: 1.344 kB / 0.9518 GB, free: 6.973 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.0004669/0.7224, allocations: 458.2 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.7224, allocations: 13.48 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.7224, allocations: 8.531 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.7225, allocations: 177.2 kB / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.7225, allocations: 6.938 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.7226, allocations: 14.53 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.7228, allocations: 89.94 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7228, allocations: 0 / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.7228, allocations: 9.094 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.7228, allocations: 0.9375 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.7229, allocations: 48.69 kB / 0.9526 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.7234, allocations: 323.4 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.7235, allocations: 65.11 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.7236, allocations: 44.67 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.7236, allocations: 9.594 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.7238, allocations: 91.64 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.7238, allocations: 0 / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004231/0.7243, allocations: 188.4 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.7243, allocations: 54.03 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.367e-05/0.7244, allocations: 127.5 kB / 0.9534 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.7244, allocations: 26.77 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.7244, allocations: 95.53 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.7245, allocations: 26.89 kB / 0.9536 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.7245, allocations: 32.05 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.7246, allocations: 322 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.7246, allocations: 30.97 kB / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.7247, allocations: 76.12 kB / 0.954 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.7249, allocations: 108.6 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7249, allocations: 4.375 kB / 0.9541 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002216/0.7251, allocations: 135.8 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7252, allocations: 8.125 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7252, allocations: 1.219 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7252, allocations: 6.344 kB / 0.9543 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.7253, allocations: 19.42 kB / 0.9543 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.7253, allocations: 2.75 kB / 0.9543 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.7254, allocations: 14.16 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.7254, allocations: 3.562 kB / 0.9543 GB, free: 4.605 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.713e-05/0.7255, allocations: 133 kB / 0.9544 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.7255, allocations: 7.969 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.7255, allocations: 9.469 kB / 0.9544 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7255, allocations: 1.094 kB / 0.9544 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7255, allocations: 1.375 kB / 0.9544 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.7255, allocations: 0 / 0.9544 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.726, allocations: 438 kB / 0.9549 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.726, allocations: 3.938 kB / 0.9549 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.726, allocations: 7.297 kB / 0.9549 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.726, allocations: 1.531 kB / 0.9549 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.726, allocations: 5.562 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.726, allocations: 0 / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7261, allocations: 3.938 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.7264, allocations: 249.5 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.7264, allocations: 87.27 kB / 0.9552 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.7264, allocations: 13.11 kB / 0.9552 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.7265, allocations: 3.344 kB / 0.9552 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.7266, allocations: 15.3 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7266, allocations: 3.5 kB / 0.9552 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.7266, allocations: 101.1 kB / 0.9553 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7266, allocations: 4 kB / 0.9553 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002969/0.7269, allocations: 43.17 kB / 0.9554 GB, free: 3.625 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.0002801/0.7272, allocations: 157.8 kB / 0.9555 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.7275, allocations: 96.61 kB / 0.9556 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7275, allocations: 1.188 kB / 0.9556 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.7276, allocations: 42.48 kB / 0.9557 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.7279, allocations: 15.3 kB / 0.9557 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.7283, allocations: 229.8 kB / 0.9559 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.7284, allocations: 0.69 MB / 0.9566 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.7284, allocations: 4.406 kB / 0.9566 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.7285, allocations: 11.44 kB / 0.9566 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7285, allocations: 4 kB / 0.9566 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Templates: time 0.003698/0.7322, allocations: 1.612 MB / 0.9582 GB, free: 1.711 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