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.001304/0.001304, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001618/0.001618, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.988 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.8 MB / 0.7707 GB, free: 4.309 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.00206/0.00206, allocations: 68 kB / 1.117 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3883, allocations: 170 MB / 1.283 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002891/0.3912, allocations: 1.537 MB / 1.285 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3928, allocations: 0.8388 MB / 1.286 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3929, allocations: 3.938 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.3929, allocations: 7.922 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.393, allocations: 15.81 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.3936, allocations: 151.5 kB / 1.286 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3937, allocations: 99.7 kB / 1.286 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.3938, allocations: 12.22 kB / 1.286 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.394, allocations: 51.89 kB / 1.286 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.3941, allocations: 39.83 kB / 1.286 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3941, allocations: 8 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.3944, allocations: 147.7 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.3944, allocations: 23.92 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.3945, allocations: 39.78 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.3947, allocations: 167.4 kB / 1.286 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3947, allocations: 0 / 1.286 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3947, allocations: 4 kB / 1.286 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3947, allocations: 0 / 1.286 GB, free: 0.7188 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.0006434/0.3954, allocations: 393.1 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3954, allocations: 8.031 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.3955, allocations: 38.73 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.3958, allocations: 28.88 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.396, allocations: 138.4 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.396, allocations: 12.38 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3961, allocations: 4.375 kB / 1.287 GB, free: 36 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3963, allocations: 97.69 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3963, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3963, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3963, allocations: 0 / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3965, allocations: 43.97 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.397, allocations: 299.7 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3972, allocations: 58.55 kB / 1.287 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3973, allocations: 36.84 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3974, allocations: 3.984 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3976, allocations: 95.39 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3976, allocations: 3.938 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004931/0.398, allocations: 185.6 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3981, allocations: 59.34 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3982, allocations: 136.2 kB / 1.288 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3982, allocations: 25.7 kB / 1.288 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.3983, allocations: 92.38 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3983, allocations: 31.97 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.3984, allocations: 29.7 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3985, allocations: 322.8 kB / 1.288 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3986, allocations: 31.97 kB / 1.288 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3987, allocations: 70 kB / 1.289 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.3989, allocations: 109.9 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3989, allocations: 4 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000273/0.3992, allocations: 137.4 kB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3992, allocations: 10.03 kB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3992, allocations: 0 / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3992, allocations: 7.938 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3993, allocations: 19.92 kB / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3993, allocations: 0 / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.3994, allocations: 20.09 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3994, allocations: 4 kB / 1.289 GB, free: 13.96 MB / 0.9981 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.0001041/0.3995, allocations: 121.8 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3996, allocations: 8.047 kB / 1.289 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3996, allocations: 16.36 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3996, allocations: 0 / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3996, allocations: 3.938 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3996, allocations: 0 / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.4002, allocations: 409.8 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4002, allocations: 4 kB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.4002, allocations: 7.984 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4002, allocations: 4.094 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4002, allocations: 3.938 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.4003, allocations: 3.984 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4003, allocations: 3.938 kB / 1.289 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.4006, allocations: 251.4 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.4007, allocations: 11.89 kB / 1.29 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.4007, allocations: 7.984 kB / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4008, allocations: 4 kB / 1.29 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.4008, allocations: 7.922 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4009, allocations: 8 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.4009, allocations: 102.3 kB / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4009, allocations: 0 / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003357/0.4013, allocations: 43.94 kB / 1.29 GB, free: 12.89 MB / 0.9981 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.000945/0.4022, allocations: 0.8374 MB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.4025, allocations: 95.77 kB / 1.291 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4025, allocations: 0 / 1.291 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4026, allocations: 43.91 kB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4029, allocations: 27.47 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.4048, allocations: 1.599 MB / 1.292 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4051, allocations: 0.6922 MB / 1.293 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.4052, allocations: 16.83 kB / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.4052, allocations: 19.44 kB / 1.293 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4052, allocations: 4 kB / 1.293 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/0.4463, allocations: 3.167 MB / 1.296 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.41, allocations: 10.56 kB / 1.296 GB, free: 6.387 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.213609882999663]