Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002587/0.002587, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 67.56 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 169.9 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003034/0.3546, allocations: 1.528 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3561, allocations: 0.7692 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.3562, allocations: 3.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.3563, allocations: 7.922 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.3563, allocations: 11.86 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.3571, allocations: 159.5 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3573, allocations: 91.77 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3574, allocations: 11.94 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3575, allocations: 55.77 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.3576, allocations: 39.83 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3576, allocations: 8 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.358, allocations: 135.8 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.358, allocations: 27.86 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.3581, allocations: 31.86 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3584, allocations: 167 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3584, allocations: 8 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3584, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3584, allocations: 0 / 1.286 GB, free: 9.496 MB / 0.9825 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.0006894/0.3591, allocations: 389.1 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3591, allocations: 12.03 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3591, allocations: 34.75 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3595, allocations: 32.86 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.3597, allocations: 130.4 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3597, allocations: 8.375 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3598, allocations: 8.375 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.36, allocations: 93.69 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.36, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.36, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.36, allocations: 4 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3602, allocations: 43.97 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.3607, allocations: 283.8 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3609, allocations: 62.55 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.361, allocations: 36.84 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.361, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.3612, allocations: 95.39 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3612, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005163/0.3617, allocations: 197.7 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3618, allocations: 59.39 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3619, allocations: 128 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3619, allocations: 37.69 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.362, allocations: 92.38 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.362, allocations: 15.84 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.3621, allocations: 33.7 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3623, allocations: 326.8 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.3624, allocations: 27.98 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3625, allocations: 69.98 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.3627, allocations: 113.9 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3627, allocations: 3.938 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00027/0.363, allocations: 141.4 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.363, allocations: 7.984 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.363, allocations: 8.156 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.363, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.3631, allocations: 15.94 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3631, allocations: 7.984 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.3632, allocations: 7.938 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3632, allocations: 4 kB / 1.288 GB, free: 6.766 MB / 0.9825 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 0.0001217/0.3633, allocations: 132.6 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.3633, allocations: 7.953 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.3634, allocations: 16.36 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3634, allocations: 4 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3634, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3634, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.364, allocations: 401.6 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.364, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.364, allocations: 8 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.364, allocations: 0 / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.3641, allocations: 11.98 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3641, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3641, allocations: 7.938 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.3645, allocations: 259.5 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.3645, allocations: 11.89 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3645, allocations: 0 / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.3646, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3647, allocations: 15.92 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3647, allocations: 3.984 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001193/0.3648, allocations: 98.08 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3648, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003195/0.3651, allocations: 39.94 kB / 1.289 GB, free: 5.691 MB / 0.9825 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.001049/0.3662, allocations: 0.8526 MB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.3665, allocations: 104.1 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3665, allocations: 4.062 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3666, allocations: 43.92 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3669, allocations: 21.94 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.3689, allocations: 1.608 MB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.826e-05/0.369, allocations: 79.19 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.369, allocations: 4.672 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.3691, allocations: 23.42 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3691, allocations: 0 / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.4075, allocations: 3.619 MB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 5.219 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.H in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9089583796449]