Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001116/0.001116, allocations: 106 kB / 16.36 MB, free: 6.34 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.001235/0.001235, allocations: 191.7 kB / 17.29 MB, free: 5.898 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001586, allocations: 64.05 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3011, allocations: 140.4 MB / 0.9511 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity): time 0.002856/0.304, allocations: 1.477 MB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.3048, allocations: 447 kB / 0.953 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.3048, allocations: 0 / 0.953 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.3049, allocations: 7.922 kB / 0.953 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.305, allocations: 19.86 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3052, allocations: 15.92 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3053, allocations: 55.84 kB / 0.9531 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3054, allocations: 4 kB / 0.9531 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.3055, allocations: 31.91 kB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.3056, allocations: 19.86 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3056, allocations: 4 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3056, allocations: 8 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.3056, allocations: 11.98 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3057, allocations: 23.86 kB / 0.9532 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3058, allocations: 43.81 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3058, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3058, allocations: 3.938 kB / 0.9532 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3059, allocations: 0 / 0.9532 GB, free: 5.949 MB / 0.7325 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.0005504/0.3064, allocations: 414.7 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3065, allocations: 12.03 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.3065, allocations: 12.83 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3066, allocations: 168.3 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.3067, allocations: 4.375 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3067, allocations: 4.312 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3069, allocations: 61.98 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3069, allocations: 0 / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3069, allocations: 0 / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3069, allocations: 7.984 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.307, allocations: 39.91 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.3075, allocations: 280.8 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3076, allocations: 38.56 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.3077, allocations: 24.94 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3077, allocations: 3.984 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.3079, allocations: 75.33 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3079, allocations: 0 / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003658/0.3082, allocations: 105.5 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3083, allocations: 59.39 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.3084, allocations: 117.8 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3084, allocations: 29.7 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3085, allocations: 88.12 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3085, allocations: 11.81 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3085, allocations: 17.72 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3086, allocations: 326.8 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.3087, allocations: 19.92 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.3088, allocations: 48.28 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3089, allocations: 72.22 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3089, allocations: 0 / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.3091, allocations: 89.78 kB / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3091, allocations: 8 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3092, allocations: 3.938 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3092, allocations: 4 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.3093, allocations: 8 kB / 0.9553 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3093, allocations: 12.14 kB / 0.9553 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.3093, allocations: 7.906 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3094, allocations: 4 kB / 0.9553 GB, free: 3.547 MB / 0.7325 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 7.719e-05/0.3094, allocations: 122.1 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.3095, allocations: 4 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3095, allocations: 3.969 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3095, allocations: 3.938 kB / 0.9554 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3095, allocations: 7.984 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3095, allocations: 0 / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.3099, allocations: 346.5 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3099, allocations: 0 / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.3099, allocations: 4 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.31, allocations: 0 / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.31, allocations: 0 / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.31, allocations: 0 / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.31, allocations: 7.875 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.3102, allocations: 191.4 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.3103, allocations: 81.02 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3103, allocations: 4 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.3104, allocations: 4 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3104, allocations: 11.92 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3104, allocations: 0 / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.3105, allocations: 95.27 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3105, allocations: 0 / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.3107, allocations: 8 kB / 0.9562 GB, free: 2.562 MB / 0.7325 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.901e-05/0.3108, allocations: 103.2 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.311, allocations: 52.03 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3111, allocations: 0 / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.3112, allocations: 40.22 kB / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3114, allocations: 8 kB / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.3118, allocations: 151.8 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3121, allocations: 0.6844 MB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.3121, allocations: 11.92 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3121, allocations: 11.72 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3121, allocations: 0 / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of Templates: time 0.002469/0.3146, allocations: 0.5899 MB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches