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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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=5000,variableFilter="time|bli.H|bli.occ|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006757/0.006757, allocations: 101 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 201.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 64.12 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3184, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002375/0.3207, allocations: 1.474 MB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.3215, allocations: 446.9 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.3215, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.3215, allocations: 7.922 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.3216, allocations: 3.938 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3218, allocations: 35.84 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3219, allocations: 55.78 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.322, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.3221, allocations: 23.98 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.3222, allocations: 19.86 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3222, allocations: 7.984 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.3222, allocations: 7.938 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.3223, allocations: 11.98 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.3223, allocations: 23.86 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3224, allocations: 43.77 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3224, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3224, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3224, allocations: 4 kB / 1.223 GB, free: 11.68 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.0005185/0.3229, allocations: 410.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.323, allocations: 12.02 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.323, allocations: 8.891 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3232, allocations: 168.3 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3232, allocations: 4.375 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3232, allocations: 384 / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3234, allocations: 69.92 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3234, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3234, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3234, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3235, allocations: 35.97 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.324, allocations: 276.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3241, allocations: 38.56 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.3242, allocations: 32.86 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3242, allocations: 4 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.3243, allocations: 67.38 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3243, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003717/0.3247, allocations: 113.6 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3247, allocations: 51.41 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.3248, allocations: 121.7 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3248, allocations: 29.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.3249, allocations: 92.08 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3249, allocations: 11.95 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3249, allocations: 17.72 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.325, allocations: 334.7 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.3251, allocations: 11.98 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.3252, allocations: 48.28 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3253, allocations: 68.22 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3253, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000183/0.3255, allocations: 97.48 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3255, allocations: 12.16 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3255, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3255, allocations: 0 / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.3256, allocations: 8 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3256, allocations: 3.984 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.3257, allocations: 4 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3257, allocations: 4 kB / 1.225 GB, free: 9.293 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 8.232e-05/0.3258, allocations: 126.2 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.3258, allocations: 7.953 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3258, allocations: 15.95 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3258, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.3262, allocations: 346.8 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3262, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.3262, allocations: 7.938 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3262, allocations: 0 / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3262, allocations: 8 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3262, allocations: 0 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3262, allocations: 7.922 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3265, allocations: 179.5 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.3265, allocations: 81.11 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3265, allocations: 384 / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.3266, allocations: 8 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3266, allocations: 15.92 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3266, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.3267, allocations: 95.2 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3267, allocations: 3.938 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002326/0.3269, allocations: 11.95 kB / 1.226 GB, free: 8.289 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 8.287e-05/0.327, allocations: 99.25 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3272, allocations: 55.84 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3272, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.3273, allocations: 31.97 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3275, allocations: 5.125 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.3279, allocations: 175.8 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3282, allocations: 0.6923 MB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.3282, allocations: 4.25 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.3282, allocations: 11.44 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.3282, allocations: 0 / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of Templates: time 0.002619/0.3308, allocations: 0.5735 MB / 1.227 GB, free: 6.605 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches