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.001518/0.001518, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001608/0.001608, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.809 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.313/3.313, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.002022/0.002022, allocations: 68.12 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002795/0.3462, allocations: 1.481 MB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009772/0.3472, allocations: 486.8 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3472, allocations: 3.938 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.3472, allocations: 3.938 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.3473, allocations: 7.922 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3476, allocations: 39.89 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3477, allocations: 59.73 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3478, allocations: 7.984 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3479, allocations: 31.92 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.348, allocations: 15.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.348, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.684e-05/0.3481, allocations: 12 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3481, allocations: 11.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.3481, allocations: 15.94 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3483, allocations: 55.67 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3483, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3483, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3483, allocations: 0 / 1.328 GB, free: 15.66 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.0005682/0.3489, allocations: 341.5 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3489, allocations: 8.031 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.3491, allocations: 20.88 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3493, allocations: 118.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3493, allocations: 4.375 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3493, allocations: 4.375 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3495, allocations: 61.98 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3495, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3495, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3495, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3497, allocations: 35.91 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.35, allocations: 216.6 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3502, allocations: 42.59 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.3503, allocations: 32.83 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3503, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3504, allocations: 71.33 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3504, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.000378/0.3508, allocations: 109.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3508, allocations: 55.41 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3509, allocations: 122.1 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.351, allocations: 29.7 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.351, allocations: 92.09 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.351, allocations: 11.94 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3511, allocations: 25.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3512, allocations: 318.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.3513, allocations: 20.05 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.3514, allocations: 52.22 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3515, allocations: 76.14 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3516, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002145/0.3518, allocations: 89.56 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3518, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3518, allocations: 3.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3518, allocations: 8.156 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.3519, allocations: 7.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3519, allocations: 8.141 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3519, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3519, allocations: 4 kB / 1.33 GB, free: 13.48 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.0001051/0.3521, allocations: 126.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3521, allocations: 3.953 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.3521, allocations: 12.06 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3521, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3521, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3521, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.3525, allocations: 294 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3525, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.3525, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3526, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3526, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3526, allocations: 3.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3526, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.3529, allocations: 199.3 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3529, allocations: 7.953 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3529, allocations: 8.062 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.353, allocations: 11.98 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.353, allocations: 4 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.353, allocations: 4 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.071e-05/0.3531, allocations: 95.31 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3531, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002429/0.3533, allocations: 11.94 kB / 1.33 GB, free: 12.63 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.0001085/0.3535, allocations: 100.7 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3537, allocations: 59.89 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3537, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3538, allocations: 31.86 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.354, allocations: 5.203 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.3545, allocations: 164.5 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.3545, allocations: 67.33 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.3546, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.3546, allocations: 11.44 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3546, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Templates: time 0.00311/0.3577, allocations: 0.6152 MB / 1.331 GB, free: 11.55 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/jenkins/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: 9.4379913918674]