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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001507/0.001507, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.02 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.77/2.77, allocations: 476.8 MB / 0.7707 GB, free: 4.27 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.002129/0.002129, allocations: 64.88 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3893, allocations: 169.9 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003158/0.3924, allocations: 1.541 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3941, allocations: 0.8391 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.3941, allocations: 3.938 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.3942, allocations: 7.875 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.3942, allocations: 11.86 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.3949, allocations: 155.5 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3951, allocations: 87.7 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3952, allocations: 27.44 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3954, allocations: 47.91 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.3954, allocations: 43.83 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3955, allocations: 8 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.3958, allocations: 147.7 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.3958, allocations: 23.91 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.3958, allocations: 39.8 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3961, allocations: 159.5 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3961, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3961, allocations: 3.938 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3962, allocations: 0 / 1.286 GB, free: 8.602 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.0006478/0.3968, allocations: 397.2 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3968, allocations: 11.97 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.3969, allocations: 34.75 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.3972, allocations: 32.86 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3974, allocations: 130.4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3975, allocations: 4.375 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3975, allocations: 12.36 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3977, allocations: 97.7 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3977, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3978, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.3978, allocations: 7.984 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3979, allocations: 47.95 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.3985, allocations: 295.8 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3987, allocations: 58.59 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3988, allocations: 36.83 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.3989, allocations: 4 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.3991, allocations: 95.3 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.3991, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005133/0.3996, allocations: 185.5 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3997, allocations: 55.41 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3998, allocations: 133.8 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3998, allocations: 25.7 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.3999, allocations: 100.3 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3999, allocations: 19.86 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.4, allocations: 37.64 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4001, allocations: 330.7 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.4002, allocations: 27.98 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4004, allocations: 76.66 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4006, allocations: 105.9 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4006, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002869/0.4008, allocations: 141.4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4009, allocations: 8 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4009, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4009, allocations: 4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.401, allocations: 15.98 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.401, allocations: 3.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.4011, allocations: 11.94 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4011, allocations: 11.98 kB / 1.289 GB, free: 5.84 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.0001324/0.4012, allocations: 128.8 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.4012, allocations: 11.91 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.4013, allocations: 8.375 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4013, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4013, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4013, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.402, allocations: 405.8 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.402, allocations: 8.078 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.402, allocations: 7.875 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.402, allocations: 4 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.402, allocations: 0 / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.402, allocations: 3.984 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.402, allocations: 3.938 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.4024, allocations: 255.5 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.4024, allocations: 7.938 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4025, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.4026, allocations: 4 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.4026, allocations: 15.92 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.4026, allocations: 4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.4027, allocations: 99.25 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4027, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003534/0.4031, allocations: 39.94 kB / 1.29 GB, free: 4.77 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.001018/0.4041, allocations: 0.8537 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.4044, allocations: 91.83 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4044, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4045, allocations: 43.97 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4049, allocations: 19.91 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.4069, allocations: 1.611 MB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4072, allocations: 0.6922 MB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.4072, allocations: 8.656 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.4073, allocations: 31.42 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.4073, allocations: 0 / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.4398, allocations: 3.166 MB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.4, allocations: 11.89 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB " [Timeout remaining time 288] (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.206322596000973]