Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001667/0.001667, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001812/0.001812, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002152/0.002152, allocations: 68.22 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002686/0.316, allocations: 1.486 MB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.3169, allocations: 486.8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.317, allocations: 7.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.317, allocations: 3.938 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.3171, allocations: 7.922 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3173, allocations: 39.84 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3174, allocations: 55.78 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.3175, allocations: 11.98 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3176, allocations: 23.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.3177, allocations: 23.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3177, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.3178, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.3178, allocations: 15.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3178, allocations: 19.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3179, allocations: 51.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.318, allocations: 3.984 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.318, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.318, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 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.0005272/0.3185, allocations: 345.5 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3185, allocations: 8.031 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3187, allocations: 16.88 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3189, allocations: 126.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3189, allocations: 384 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3189, allocations: 4.375 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3191, allocations: 65.98 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3191, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3191, allocations: 7.922 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3191, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3192, allocations: 35.91 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3196, allocations: 220.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3197, allocations: 38.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.3198, allocations: 28.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3198, allocations: 8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.32, allocations: 71.33 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.32, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003538/0.3203, allocations: 109.6 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3204, allocations: 55.34 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3205, allocations: 121.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3205, allocations: 25.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.3206, allocations: 96.09 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3206, allocations: 3.953 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.3206, allocations: 29.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3208, allocations: 310.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.3209, allocations: 19.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.3209, allocations: 48.22 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3211, allocations: 80.14 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3211, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001942/0.3213, allocations: 89.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3213, allocations: 8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3213, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3213, allocations: 160 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.3214, allocations: 15.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3214, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.3214, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3214, allocations: 4 kB / 1.33 GB, free: 13.49 MB / 1.029 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.126e-05/0.3215, allocations: 118.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3216, allocations: 7.953 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.3216, allocations: 12.05 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3216, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3216, allocations: 3.938 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3216, allocations: 7.938 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.322, allocations: 290.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.322, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.322, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.322, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.322, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.322, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.322, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3223, allocations: 195.3 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.3223, allocations: 11.94 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3224, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3224, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3225, allocations: 7.984 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3225, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.3225, allocations: 95.2 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3225, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002345/0.3228, allocations: 19.94 kB / 1.331 GB, free: 12.65 MB / 1.029 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.0001064/0.3229, allocations: 99.25 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3231, allocations: 55.91 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3231, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.3232, allocations: 31.91 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3234, allocations: 5.031 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.3238, allocations: 186.2 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.799e-05/0.3239, allocations: 75.23 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3239, allocations: 11.44 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3239, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of Templates: time 0.002196/0.3261, allocations: 0.8084 MB / 1.332 GB, free: 11.32 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.5984404720366]