Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.001173/0.001173, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.00112/0.00112, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 179] 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.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.13 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.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 68.12 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7915, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002139/0.7936, allocations: 1.501 MB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.7942, allocations: 458.3 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.7942, allocations: 0.75 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.7942, allocations: 5.344 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.7943, allocations: 5.984 kB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.7945, allocations: 30.47 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.7945, allocations: 49.66 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.7946, allocations: 9.562 kB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.7947, allocations: 21.5 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.7948, allocations: 22.97 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7948, allocations: 4.219 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.7948, allocations: 7.25 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.7948, allocations: 13.47 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.7949, allocations: 23.41 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.795, allocations: 47.55 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.795, allocations: 4.812 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.795, allocations: 0 / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.795, allocations: 0.8438 kB / 1.273 GB, free: 6.238 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003902/0.7954, allocations: 412.9 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.7954, allocations: 9.781 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.226e-05/0.7954, allocations: 32.62 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.7954, allocations: 12.11 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.7955, allocations: 169.3 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.7955, allocations: 2.031 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.7955, allocations: 7.328 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7957, allocations: 66.53 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7957, allocations: 0.6094 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7957, allocations: 0.9375 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.7957, allocations: 0.8125 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.7958, allocations: 30.8 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.7961, allocations: 288.9 kB / 1.274 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.7962, allocations: 41.48 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.7963, allocations: 23.47 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7963, allocations: 8.578 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.7965, allocations: 79.84 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.7965, allocations: 0 / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003205/0.7968, allocations: 103.2 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.7968, allocations: 57.23 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.7969, allocations: 115.9 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.7969, allocations: 26.86 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.7969, allocations: 96.45 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.7969, allocations: 10.11 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.797, allocations: 20.97 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.889e-05/0.797, allocations: 318.2 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.7971, allocations: 18.56 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.7971, allocations: 43.31 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.7972, allocations: 79.03 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7972, allocations: 0 / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.7974, allocations: 99.62 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7974, allocations: 5.75 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7974, allocations: 0.875 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7974, allocations: 1.875 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.7975, allocations: 9.531 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7975, allocations: 1.656 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.7976, allocations: 4.688 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7976, allocations: 2.812 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (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 (7): * Single equations (assignments): 7 * 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 4.873e-05/0.7976, allocations: 131.5 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.7976, allocations: 6.984 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.7977, allocations: 10.33 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7977, allocations: 0.875 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7977, allocations: 0.9688 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7977, allocations: 384 / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.798, allocations: 351.3 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.798, allocations: 0.9375 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.798, allocations: 6.016 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.798, allocations: 4.812 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.798, allocations: 1 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.798, allocations: 3.938 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.798, allocations: 0.875 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.7982, allocations: 189 kB / 1.276 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.7982, allocations: 83.45 kB / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.7982, allocations: 1.125 kB / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.7983, allocations: 10.25 kB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.7983, allocations: 4.078 kB / 1.276 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.7983, allocations: 5 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.7984, allocations: 93.72 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7984, allocations: 1.188 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002165/0.7986, allocations: 9.969 kB / 1.276 GB, free: 3.41 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: 4 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003674/0.799, allocations: 0.7128 MB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.7991, allocations: 55.72 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7992, allocations: 1.031 kB / 1.277 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.7992, allocations: 29.27 kB / 1.277 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.7995, allocations: 17 kB / 1.277 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.8006, allocations: 1.4 MB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.8009, allocations: 0.6875 MB / 1.279 GB, free: 16.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.8009, allocations: 7.906 kB / 1.279 GB, free: 16.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.8009, allocations: 20.39 kB / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.8009, allocations: 0 / 1.279 GB, free: 16.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.8235, allocations: 1.619 MB / 1.281 GB, free: 16.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/7.747, allocations: 7.703 kB / 1.281 GB, free: 16.27 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.H,bli.occ,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.H,bli.HSet,bli.blindState,bli.occ,bli.samplePeriod,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 12.925841410999055]