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.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.001341/0.001341, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001412/0.001412, allocations: 211.6 kB / 23.01 MB, free: 4.566 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.747/2.747, allocations: 476.8 MB / 0.7714 GB, free: 4.273 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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [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.002031/0.002031, allocations: 75.17 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002877/0.3154, allocations: 1.511 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3164, allocations: 0.5199 MB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.3165, allocations: 7.938 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.3165, allocations: 7.875 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.3166, allocations: 7.922 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.3168, allocations: 35.84 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.317, allocations: 51.84 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3171, allocations: 11.94 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3172, allocations: 27.91 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.3173, allocations: 23.86 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3173, allocations: 4 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.3173, allocations: 15.98 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.3174, allocations: 8 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3175, allocations: 27.86 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3176, allocations: 51.69 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3176, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3176, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3176, allocations: 0 / 1.287 GB, free: 8.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005492/0.3182, allocations: 341.6 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3182, allocations: 8.031 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.3184, allocations: 16.89 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3186, allocations: 122.5 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3186, allocations: 384 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3186, allocations: 4.375 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3188, allocations: 65.97 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3188, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3188, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3188, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.319, allocations: 43.91 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3194, allocations: 251.9 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3195, allocations: 38.55 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.3196, allocations: 24.94 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3196, allocations: 4 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.3198, allocations: 71.33 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3198, allocations: 0 / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003652/0.3201, allocations: 113.6 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3202, allocations: 51.41 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3203, allocations: 121.8 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3203, allocations: 29.64 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.3204, allocations: 92.14 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3204, allocations: 7.906 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.3204, allocations: 29.7 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3206, allocations: 318.8 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.3206, allocations: 23.92 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.3207, allocations: 52.22 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3209, allocations: 72.2 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3209, allocations: 0 / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001974/0.3211, allocations: 93.5 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3211, allocations: 4 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3211, allocations: 4 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3211, allocations: 3.984 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.3212, allocations: 12.14 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3212, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.3212, allocations: 4 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3212, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 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 9.839e-05/0.3213, allocations: 125.7 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.3214, allocations: 7.953 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.3214, allocations: 8.062 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3214, allocations: 0 / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3214, allocations: 3.938 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3214, allocations: 4 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.3219, allocations: 317.6 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3219, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3219, allocations: 7.984 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3219, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3219, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3219, allocations: 320 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3219, allocations: 3.938 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3222, allocations: 195.4 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.3222, allocations: 4 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3222, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.3223, allocations: 7.984 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3223, allocations: 7.938 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3224, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.761e-05/0.3225, allocations: 99.2 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3225, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002376/0.3227, allocations: 15.95 kB / 1.29 GB, free: 5.828 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: 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.000121/0.3228, allocations: 103.2 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.323, allocations: 47.91 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.323, allocations: 320 / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.3231, allocations: 35.92 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3234, allocations: 11.92 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.3238, allocations: 191.9 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3242, allocations: 0.6846 MB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.3242, allocations: 7.438 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3242, allocations: 4 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.002418/0.3266, allocations: 0.7855 MB / 1.291 GB, free: 3.906 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 400] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.62472904799506]