Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.001838/0.001838, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002308/0.002308, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.98 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.875/2.875, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] 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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.002057/0.002057, allocations: 68.89 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 169.9 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003285/0.3068, allocations: 1.543 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3086, allocations: 0.8353 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.3087, allocations: 7.938 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.3088, allocations: 3.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.3088, allocations: 11.86 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.3096, allocations: 159.5 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.3098, allocations: 75.72 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3099, allocations: 15.97 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.31, allocations: 31.92 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3101, allocations: 39.83 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3101, allocations: 8 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.3104, allocations: 139.8 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3105, allocations: 19.92 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.3105, allocations: 35.84 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.3108, allocations: 158.9 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3108, allocations: 8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3108, allocations: 4 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3108, allocations: 0 / 1.286 GB, free: 8.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006919/0.3115, allocations: 377.2 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3116, allocations: 8.031 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.3116, allocations: 42.69 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.312, allocations: 28.86 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3123, allocations: 130.4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3123, allocations: 8.359 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.3123, allocations: 4.375 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3125, allocations: 73.77 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3126, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3126, allocations: 7.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3126, allocations: 3.938 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3127, allocations: 35.97 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.3133, allocations: 275.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3134, allocations: 46.56 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.3135, allocations: 32.95 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3135, allocations: 3.938 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.3137, allocations: 87.36 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3137, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004239/0.3141, allocations: 137.9 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3142, allocations: 63.39 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3143, allocations: 124.4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3144, allocations: 33.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.3144, allocations: 88.14 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3145, allocations: 27.73 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3145, allocations: 29.7 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3147, allocations: 326.8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.3147, allocations: 19.98 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3148, allocations: 61.16 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.315, allocations: 89.06 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.315, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002523/0.3153, allocations: 117.5 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3153, allocations: 6.031 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3153, allocations: 4 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3153, allocations: 0 / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.3154, allocations: 19.92 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3154, allocations: 4.062 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.3155, allocations: 4.156 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3155, allocations: 8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,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 (11): * Single equations (assignments): 11 * 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.0001194/0.3156, allocations: 129.8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3156, allocations: 7.891 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.3157, allocations: 12.38 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3157, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3157, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3157, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.3162, allocations: 369.4 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3162, allocations: 0 / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3163, allocations: 7.984 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3163, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3163, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.3163, allocations: 7.938 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3163, allocations: 0 / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.3166, allocations: 223.4 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.3166, allocations: 11.89 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3167, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.3167, allocations: 11.92 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3168, allocations: 7.984 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3168, allocations: 0 / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.3169, allocations: 99.27 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3169, allocations: 0 / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000316/0.3172, allocations: 35.94 kB / 1.289 GB, free: 5.16 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001035/0.3182, allocations: 0.8182 MB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3185, allocations: 71.91 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3185, allocations: 0 / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.3186, allocations: 31.97 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3189, allocations: 11.88 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.3209, allocations: 1.532 MB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3213, allocations: 0.6945 MB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.3213, allocations: 4 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.3214, allocations: 23.42 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.3214, allocations: 0 / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3541, allocations: 2.915 MB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 4.297 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.p,bli.blindState Variables in the result:H.amplitude,H.continuous,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 18.310116610024124]