Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008484/0.008484, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.002068/0.002069, allocations: 196 kB / 16.67 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 57.72 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.324, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002658/0.3267, allocations: 1.505 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3281, allocations: 0.7492 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.3281, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.3282, allocations: 7.922 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.3283, allocations: 15.81 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.3288, allocations: 123.6 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.329, allocations: 95.75 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3291, allocations: 15.98 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.3292, allocations: 43.84 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.3293, allocations: 47.81 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3293, allocations: 8 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.3295, allocations: 99.84 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.3295, allocations: 19.92 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.3296, allocations: 35.86 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3299, allocations: 155.5 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3299, allocations: 4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3299, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.3299, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006322/0.3305, allocations: 458.6 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3306, allocations: 8.031 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.3306, allocations: 8.844 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3308, allocations: 178.2 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.3308, allocations: 12.36 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3308, allocations: 4.375 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.331, allocations: 101.9 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3311, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3311, allocations: 3.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3311, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3312, allocations: 47.91 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.3319, allocations: 324.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3321, allocations: 70.55 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.803e-05/0.3322, allocations: 44.88 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3322, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.3324, allocations: 91.36 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3324, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004804/0.3329, allocations: 185.5 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.333, allocations: 59.41 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.3331, allocations: 121.8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3331, allocations: 29.7 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3332, allocations: 96.27 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3332, allocations: 23.69 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.3333, allocations: 41.7 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3334, allocations: 322.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.3335, allocations: 23.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3336, allocations: 80.45 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3338, allocations: 113.9 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3338, allocations: 3.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002395/0.334, allocations: 133.8 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3341, allocations: 8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3341, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3341, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.3342, allocations: 19.92 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3342, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.3343, allocations: 15.91 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3343, allocations: 7.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001151/0.3344, allocations: 133.8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.3344, allocations: 11.91 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.3345, allocations: 4.375 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3345, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3345, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3345, allocations: 7.984 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.335, allocations: 434.5 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3351, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.3351, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3351, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3351, allocations: 7.984 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3351, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3352, allocations: 7.875 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.3355, allocations: 247.4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3356, allocations: 85 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3356, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.3357, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3357, allocations: 19.86 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3358, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3359, allocations: 96.52 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.853e-06/0.3359, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000304/0.3362, allocations: 47.86 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000337/0.3365, allocations: 173 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.3368, allocations: 95.83 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3368, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.337, allocations: 52.28 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3373, allocations: 11.98 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.3378, allocations: 208.1 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3381, allocations: 0.6885 MB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.3381, allocations: 8 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.3382, allocations: 11.44 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3382, allocations: 0 / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.004585/0.3428, allocations: 1.757 MB / 1.097 GB, free: 7.469 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches