Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001613/0.001613, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002075/0.002075, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 64.08 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8823, allocations: 160.8 MB / 1.218 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.00306/0.8853, allocations: 1.484 MB / 1.22 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.8862, allocations: 466.8 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.8862, allocations: 4 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.8862, allocations: 3.938 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.8863, allocations: 7.922 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.8865, allocations: 23.91 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.8866, allocations: 55.78 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.8867, allocations: 4 kB / 1.22 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.8868, allocations: 23.98 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.8869, allocations: 35.78 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.8869, allocations: 0 / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.8869, allocations: 8 kB / 1.221 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.8869, allocations: 11.98 kB / 1.221 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.887, allocations: 19.88 kB / 1.221 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.8871, allocations: 47.47 kB / 1.221 GB, free: 2.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.8871, allocations: 4 kB / 1.221 GB, free: 2.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8871, allocations: 0 / 1.221 GB, free: 2.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.8871, allocations: 0 / 1.221 GB, free: 2.215 MB / 0.92 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.0006977/0.8878, allocations: 417.3 kB / 1.221 GB, free: 1.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8879, allocations: 8.031 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.8879, allocations: 12.89 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8881, allocations: 168.3 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.8881, allocations: 4.375 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.8881, allocations: 8.312 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.8883, allocations: 65.92 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8883, allocations: 4 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8883, allocations: 0 / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8883, allocations: 0 / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.8884, allocations: 39.97 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.8889, allocations: 276.9 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.8891, allocations: 38.5 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.8891, allocations: 24.94 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.8892, allocations: 0 / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.8894, allocations: 71.38 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.8894, allocations: 0 / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0004035/0.8898, allocations: 109.6 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.8899, allocations: 55.34 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.89, allocations: 121.8 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.89, allocations: 25.7 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.8901, allocations: 92.03 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.8901, allocations: 15.94 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.8901, allocations: 17.72 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8903, allocations: 326.8 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.8904, allocations: 11.94 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.8905, allocations: 60.25 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.8906, allocations: 64.22 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8907, allocations: 4 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002049/0.8909, allocations: 93.5 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8909, allocations: 8 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8909, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.8909, allocations: 3.984 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.891, allocations: 11.98 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.891, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.891, allocations: 8.156 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8911, allocations: 7.984 kB / 1.223 GB, free: 15.82 MB / 0.9356 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 0.0001166/0.8912, allocations: 126 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.8912, allocations: 7.953 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.8912, allocations: 8.062 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8912, allocations: 0 / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8912, allocations: 0 / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8912, allocations: 4 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.8917, allocations: 350.6 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8917, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.8918, allocations: 11.98 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8918, allocations: 0 / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.8918, allocations: 0 / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8918, allocations: 160 / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8918, allocations: 3.938 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.8921, allocations: 187.5 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.8921, allocations: 77.11 kB / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.8922, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.8922, allocations: 7.984 kB / 1.223 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.8923, allocations: 15.92 kB / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.8923, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.8924, allocations: 91.22 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8924, allocations: 4 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002384/0.8926, allocations: 11.98 kB / 1.224 GB, free: 14.83 MB / 0.9356 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.0001538/0.8928, allocations: 103.2 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.893, allocations: 55.91 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.893, allocations: 3.938 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.8931, allocations: 28.3 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.8933, allocations: 10.23 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.8938, allocations: 160 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.8942, allocations: 0.686 MB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.8942, allocations: 3.984 kB / 1.225 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.8942, allocations: 15.72 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8942, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.003494/0.8977, allocations: 0.6059 MB / 1.225 GB, free: 13.12 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.60718836542219]