Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.001793/0.001793, 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.001628/0.001628, allocations: 215 kB / 22.25 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.557/1.557, 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.966/2.966, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] 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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.002146/0.002146, allocations: 66.52 kB / 1.117 GB, free: 41.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003182/0.3572, allocations: 1.514 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3588, allocations: 0.7808 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.3589, allocations: 0 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.3589, allocations: 7.875 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.359, allocations: 11.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.3597, allocations: 159.4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.3599, allocations: 95.7 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.36, allocations: 15.94 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3601, allocations: 47.89 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.3602, allocations: 39.84 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3602, allocations: 8 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.3605, allocations: 143.7 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.3605, allocations: 23.92 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.3606, allocations: 31.84 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3609, allocations: 163 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3609, allocations: 3.984 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3609, allocations: 0 / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3609, allocations: 0 / 1.285 GB, free: 9.48 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.0006857/0.3616, allocations: 393.2 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3616, allocations: 8.031 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.3617, allocations: 38.69 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.362, allocations: 32.86 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3623, allocations: 134.4 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3623, allocations: 8.375 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3623, allocations: 4.375 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3626, allocations: 93.75 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3626, allocations: 3.938 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3626, allocations: 4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3626, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3627, allocations: 43.97 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.3633, allocations: 279.8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3635, allocations: 62.58 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3636, allocations: 32.84 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3636, allocations: 12 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.3639, allocations: 95.34 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3639, allocations: 3.938 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005967/0.3645, allocations: 189.5 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.3645, allocations: 55.41 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3647, allocations: 136.9 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3647, allocations: 29.7 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.3648, allocations: 88.38 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3648, allocations: 31.97 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.3649, allocations: 33.72 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.365, allocations: 322.8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.3651, allocations: 31.91 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3652, allocations: 74 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.3654, allocations: 109.9 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3654, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002685/0.3657, allocations: 137.4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3657, allocations: 8 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3657, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3657, allocations: 4 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.3658, allocations: 15.98 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3658, allocations: 8.094 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.3659, allocations: 15.94 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3659, allocations: 4 kB / 1.288 GB, free: 6.734 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.0001167/0.366, allocations: 125.8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.366, allocations: 7.938 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3661, allocations: 8.375 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3661, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3661, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3661, allocations: 0 / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3667, allocations: 409.8 kB / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3667, allocations: 0 / 1.288 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.3667, allocations: 7.938 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3667, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3667, allocations: 8.016 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3667, allocations: 3.938 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3667, allocations: 7.938 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.3671, allocations: 251.4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.3671, allocations: 11.89 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3672, allocations: 12 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.3673, allocations: 3.984 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3673, allocations: 11.92 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3673, allocations: 4 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.423e-05/0.3674, allocations: 99.27 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3674, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003188/0.3677, allocations: 43.92 kB / 1.289 GB, free: 5.66 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.001109/0.3688, allocations: 0.8598 MB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.3691, allocations: 87.83 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3691, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3692, allocations: 43.97 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3695, allocations: 24.23 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3714, allocations: 1.602 MB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.3715, allocations: 83.12 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.3715, allocations: 12.66 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.3716, allocations: 27.44 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3716, allocations: 0 / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.4046, allocations: 3.604 MB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 11.56 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_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_Zhang2012BlindsSolarAltitude.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bli.solarAltitude in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.15936641395092]