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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.366/2.366, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6554, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002617/0.6581, allocations: 1.495 MB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.6593, allocations: 0.7498 MB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.6593, allocations: 0 / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.6594, allocations: 7.875 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.6594, allocations: 9.844 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.66, allocations: 127.5 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.6601, allocations: 97.06 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.6602, allocations: 17.95 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.6603, allocations: 36.47 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.6604, allocations: 49.03 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.6604, allocations: 11.88 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.6606, allocations: 99.44 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.6606, allocations: 19.23 kB / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.6607, allocations: 41.84 kB / 0.9524 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.6609, allocations: 155.2 kB / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6609, allocations: 1.438 kB / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6609, allocations: 0 / 0.9526 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.6609, allocations: 0 / 0.9526 GB, free: 7.012 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.0005283/0.6614, allocations: 458.4 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6615, allocations: 9.875 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.6615, allocations: 35.88 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.6616, allocations: 10.28 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.6617, allocations: 184.3 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.6617, allocations: 8.125 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.6617, allocations: 8.125 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.6619, allocations: 86.5 kB / 0.9533 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.662, allocations: 5.406 kB / 0.9533 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.662, allocations: 4 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.662, allocations: 1.281 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.6621, allocations: 48.72 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.6626, allocations: 323.2 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.6628, allocations: 65.48 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.6629, allocations: 52.3 kB / 0.9538 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.6629, allocations: 1.156 kB / 0.9538 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.6631, allocations: 95.06 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.6631, allocations: 1.281 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004403/0.6636, allocations: 188.8 kB / 0.9541 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.6636, allocations: 57.8 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.6637, allocations: 122.5 kB / 0.9542 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.6637, allocations: 27.27 kB / 0.9543 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.6637, allocations: 100.5 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.6638, allocations: 22.16 kB / 0.9544 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.6638, allocations: 32.83 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.6639, allocations: 325.4 kB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.6639, allocations: 28.02 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.664, allocations: 79.7 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.6642, allocations: 112 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6642, allocations: 1.125 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002225/0.6644, allocations: 135.8 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6645, allocations: 6.531 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.6645, allocations: 1.125 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.6645, allocations: 7.422 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.6646, allocations: 15.41 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6646, allocations: 6.406 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.6647, allocations: 12.73 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.6647, allocations: 4.656 kB / 0.9551 GB, free: 4.598 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.05e-05/0.6648, allocations: 130.2 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.6648, allocations: 7.188 kB / 0.9552 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.6648, allocations: 14.58 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.6648, allocations: 1.094 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6648, allocations: 0 / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6648, allocations: 4.969 kB / 0.9553 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.6653, allocations: 437.8 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6653, allocations: 0 / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.6653, allocations: 4.156 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6653, allocations: 0 / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.6654, allocations: 9.172 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6654, allocations: 5.438 kB / 0.9557 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6654, allocations: 4.406 kB / 0.9557 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.6657, allocations: 252.8 kB / 0.9559 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.6657, allocations: 87.67 kB / 0.956 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.6657, allocations: 5.312 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.6658, allocations: 7.922 kB / 0.956 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.6659, allocations: 6.438 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6659, allocations: 6.422 kB / 0.9561 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.6659, allocations: 103.3 kB / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6659, allocations: 0 / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002987/0.6662, allocations: 38.88 kB / 0.9562 GB, free: 3.621 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.0007028/0.6669, allocations: 0.8383 MB / 0.957 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.6672, allocations: 102.2 kB / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6672, allocations: 0 / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.6673, allocations: 45.8 kB / 0.9572 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6676, allocations: 21.42 kB / 0.9572 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.6692, allocations: 1.598 MB / 0.9587 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.6693, allocations: 0.6904 MB / 0.9594 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.6693, allocations: 7.953 kB / 0.9594 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.6694, allocations: 23.38 kB / 0.9594 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6694, allocations: 0 / 0.9594 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.6889, allocations: 2.944 MB / 0.9623 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/8.196, allocations: 10.28 kB / 0.9623 GB, free: 15.06 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude