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.001765/0.001765, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.002089/0.002089, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.833/2.833, allocations: 476.7 MB / 0.7672 GB, free: 5.215 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.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.00211/0.00211, allocations: 59.91 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9248, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002926/0.9278, allocations: 1.538 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.9294, allocations: 0.8273 MB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.9295, allocations: 0 / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.9295, allocations: 3.938 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.9296, allocations: 23.78 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.9302, allocations: 135.6 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.9303, allocations: 91.7 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.9304, allocations: 17.8 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.9306, allocations: 51.84 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.9307, allocations: 47.83 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.9307, allocations: 8 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.9309, allocations: 115.8 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.9309, allocations: 23.92 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.931, allocations: 43.72 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.9313, allocations: 163.5 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9313, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9313, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9313, allocations: 0 / 1.281 GB, free: 10.32 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.0007393/0.932, allocations: 466.3 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9321, allocations: 12.03 kB / 1.282 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.9322, allocations: 42.73 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.9326, allocations: 28.88 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.9328, allocations: 198.7 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.9328, allocations: 4.375 kB / 1.282 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.9329, allocations: 8.375 kB / 1.282 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.9331, allocations: 89.75 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.9331, allocations: 0 / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9331, allocations: 4 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.9331, allocations: 4 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.9333, allocations: 47.91 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.9339, allocations: 320.6 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.934, allocations: 62.56 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.9341, allocations: 36.83 kB / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.9342, allocations: 8.031 kB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.9344, allocations: 91.36 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.9344, allocations: 0 / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000534/0.9349, allocations: 189.8 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.935, allocations: 55.66 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9351, allocations: 133.7 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.9351, allocations: 29.7 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.9352, allocations: 100.3 kB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.9352, allocations: 19.84 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.9353, allocations: 33.7 kB / 1.283 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9354, allocations: 326.8 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.9355, allocations: 27.98 kB / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.9356, allocations: 76.45 kB / 1.284 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.9359, allocations: 113.9 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9359, allocations: 0 / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002849/0.9362, allocations: 141.4 kB / 1.284 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.9362, allocations: 4 kB / 1.284 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.9362, allocations: 4 kB / 1.284 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9362, allocations: 3.938 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.9363, allocations: 19.98 kB / 1.284 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9363, allocations: 4 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.9364, allocations: 7.984 kB / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.9364, allocations: 4 kB / 1.284 GB, free: 7.375 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.000121/0.9365, allocations: 140.5 kB / 1.284 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.9366, allocations: 7.953 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.9366, allocations: 8.375 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9366, allocations: 4 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9366, allocations: 0 / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.9366, allocations: 3.984 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.9373, allocations: 430.3 kB / 1.284 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.9373, allocations: 4 kB / 1.284 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.9374, allocations: 4 kB / 1.284 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9374, allocations: 0 / 1.284 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.9374, allocations: 3.984 kB / 1.284 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9374, allocations: 4 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9374, allocations: 3.938 kB / 1.284 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.9378, allocations: 255.4 kB / 1.285 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.9379, allocations: 89.06 kB / 1.285 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.9379, allocations: 0 / 1.285 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.938, allocations: 11.98 kB / 1.285 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.938, allocations: 11.88 kB / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.938, allocations: 3.984 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.9381, allocations: 95.27 kB / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9381, allocations: 0 / 1.285 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003303/0.9384, allocations: 43.88 kB / 1.285 GB, free: 6.168 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.001033/0.9395, allocations: 0.844 MB / 1.286 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.9398, allocations: 99.95 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9398, allocations: 0 / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.9399, allocations: 43.91 kB / 1.286 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.9402, allocations: 19.91 kB / 1.286 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.9423, allocations: 1.616 MB / 1.287 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.9427, allocations: 0.6961 MB / 1.288 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.9427, allocations: 4.672 kB / 1.288 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.9428, allocations: 23.42 kB / 1.288 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9428, allocations: 0 / 1.288 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.9703, allocations: 3.033 MB / 1.291 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/9.358, allocations: 10.64 kB / 1.291 GB, free: 15.79 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.600625297985971]