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.001713/0.001713, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002099/0.002099, allocations: 210.9 kB / 22.99 MB, free: 4.957 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.185/3.185, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002094/0.002094, allocations: 71.67 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002709/0.3217, allocations: 1.471 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.3226, allocations: 494.8 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.3226, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.3227, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.3227, allocations: 15.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3229, allocations: 27.91 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3231, allocations: 59.78 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.865e-05/0.3231, allocations: 11.98 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3233, allocations: 31.86 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.3233, allocations: 19.91 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3233, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.3234, allocations: 12 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3234, allocations: 7.938 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.3234, allocations: 23.91 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3236, allocations: 51.7 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3236, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.486e-06/0.3236, allocations: 3.984 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3236, allocations: 0 / 1.329 GB, free: 14.75 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.0005204/0.3241, allocations: 345.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3241, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3243, allocations: 16.88 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3245, allocations: 122.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3245, allocations: 4.375 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3245, allocations: 4.375 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3247, allocations: 65.91 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3247, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3247, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3247, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.3249, allocations: 35.97 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.3252, allocations: 216.6 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3253, allocations: 42.44 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.3254, allocations: 28.92 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3254, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3256, allocations: 75.39 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3256, allocations: 3.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003713/0.326, allocations: 113.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.326, allocations: 55.34 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3261, allocations: 117.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3261, allocations: 33.69 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.3262, allocations: 88.09 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.3262, allocations: 11.95 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3263, allocations: 25.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3264, allocations: 318.8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.3265, allocations: 11.98 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.3265, allocations: 48.28 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3267, allocations: 76.14 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3267, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002041/0.3269, allocations: 93.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3269, allocations: 5.875 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3269, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3269, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.327, allocations: 11.98 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.327, allocations: 160 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3271, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3271, allocations: 4 kB / 1.331 GB, free: 12.57 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 0.0001023/0.3272, allocations: 126.2 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.3272, allocations: 3.953 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.3272, allocations: 16.05 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.3276, allocations: 298.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3276, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3277, allocations: 7.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3277, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3277, allocations: 320 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3277, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3277, allocations: 7.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.328, allocations: 191.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.328, allocations: 11.94 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.328, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.3281, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3281, allocations: 7.984 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3281, allocations: 4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.095e-05/0.3282, allocations: 91.27 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3282, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00024/0.3284, allocations: 11.94 kB / 1.332 GB, free: 11.73 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 9.023e-05/0.3285, allocations: 99.19 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3287, allocations: 63.91 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3287, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3288, allocations: 27.97 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3291, allocations: 5.875 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.3295, allocations: 160.2 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.801e-05/0.3295, allocations: 79.55 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.3296, allocations: 3.984 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3296, allocations: 11.44 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3296, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Templates: time 0.003097/0.3327, allocations: 0.6281 MB / 1.333 GB, free: 10.62 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 -s gbode -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: 8.735723928999505]