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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.521/2.521, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.89 kB / 1.107 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.789, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002219/0.7913, allocations: 1.527 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.7924, allocations: 0.7612 MB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.7924, allocations: 4.812 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.7924, allocations: 4.641 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.7925, allocations: 15.47 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.793, allocations: 136 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.7931, allocations: 86.44 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.7932, allocations: 11.81 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.7933, allocations: 46.44 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.7933, allocations: 43.45 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.7934, allocations: 8.438 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.7936, allocations: 111 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.7936, allocations: 23.86 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.7936, allocations: 39.5 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.7939, allocations: 148.6 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7939, allocations: 1.031 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7939, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7939, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 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.0004901/0.7944, allocations: 471.8 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.7944, allocations: 10.34 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.7944, allocations: 33.89 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.7945, allocations: 9.578 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.636e-05/0.7945, allocations: 178.5 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.7946, allocations: 8.562 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.7946, allocations: 7.406 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.7948, allocations: 92.81 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7948, allocations: 0 / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.7948, allocations: 5.062 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7948, allocations: 1.031 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.7949, allocations: 49.27 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.7954, allocations: 319.7 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.7955, allocations: 56.75 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.7956, allocations: 40.7 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.7957, allocations: 1.094 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.7959, allocations: 96.92 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.7959, allocations: 0.75 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0004643/0.7963, allocations: 190.3 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.7963, allocations: 59.38 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.7964, allocations: 130.9 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.7964, allocations: 31.08 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.7965, allocations: 96.03 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.7965, allocations: 21.81 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.7965, allocations: 34.84 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.7966, allocations: 324.2 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.7967, allocations: 29.8 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.342e-05/0.7968, allocations: 80 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.7969, allocations: 106.3 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7969, allocations: 5.125 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002361/0.7972, allocations: 129.1 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7972, allocations: 7.031 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7972, allocations: 6.531 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7972, allocations: 10.16 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.7973, allocations: 14.72 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.7973, allocations: 6.594 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.7974, allocations: 14.56 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.7974, allocations: 6.375 kB / 1.277 GB, free: 3.668 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 6.26e-05/0.7974, allocations: 132.9 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.7975, allocations: 13.08 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.7975, allocations: 8.062 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7975, allocations: 1.094 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7975, allocations: 0 / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7975, allocations: 0 / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.7979, allocations: 430.4 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7979, allocations: 0 / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.798, allocations: 6.219 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.798, allocations: 4.938 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.798, allocations: 2.625 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.798, allocations: 0.75 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.798, allocations: 4.938 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.7983, allocations: 249.4 kB / 1.278 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.7983, allocations: 83.06 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.7983, allocations: 2.75 kB / 1.278 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.7984, allocations: 9.031 kB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.7985, allocations: 15.58 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.7985, allocations: 6 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.7985, allocations: 92.41 kB / 1.278 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7985, allocations: 4.656 kB / 1.278 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003118/0.7988, allocations: 46.3 kB / 1.278 GB, free: 2.781 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.0007659/0.7996, allocations: 0.8518 MB / 1.279 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.7998, allocations: 90.91 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7998, allocations: 4.062 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8, allocations: 46.39 kB / 1.279 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8002, allocations: 22.58 kB / 1.279 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.8016, allocations: 1.607 MB / 1.28 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8019, allocations: 0.6924 MB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.8019, allocations: 3.656 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.802, allocations: 23.42 kB / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.802, allocations: 0 / 1.281 GB, free: 15.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.8286, allocations: 2.984 MB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.969, allocations: 12.77 kB / 1.284 GB, free: 15.34 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.426745005002886]