Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006789/0.006789, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001537/0.001538, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.48/2.48, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 62.72 kB / 0.9508 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3188, allocations: 140.4 MB / 1.088 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003525/0.3224, allocations: 1.508 MB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.324, allocations: 0.7492 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.3241, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.546e-05/0.3242, allocations: 3.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.3243, allocations: 19.86 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.325, allocations: 131.5 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3251, allocations: 87.81 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3253, allocations: 11.98 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3254, allocations: 47.78 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3255, allocations: 47.83 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3255, allocations: 8 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.3258, allocations: 95.89 kB / 1.091 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.3258, allocations: 27.86 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.3259, allocations: 35.8 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3262, allocations: 159.5 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3262, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3262, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3263, allocations: 0 / 1.091 GB, free: 14.72 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.0007507/0.327, allocations: 462.6 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3271, allocations: 12.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.3271, allocations: 8.844 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3273, allocations: 173.6 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.3273, allocations: 8.312 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.3273, allocations: 12.36 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3276, allocations: 85.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3276, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3276, allocations: 8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3276, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.3278, allocations: 51.94 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.3284, allocations: 320.6 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3286, allocations: 66.55 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3287, allocations: 44.84 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.3287, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.329, allocations: 95.39 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.329, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005231/0.3295, allocations: 189.7 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3296, allocations: 59.41 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3297, allocations: 123.9 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3297, allocations: 37.64 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.3298, allocations: 100.2 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3298, allocations: 15.75 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.3299, allocations: 37.7 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.33, allocations: 326.8 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.3301, allocations: 23.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3302, allocations: 77.98 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3304, allocations: 109.9 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3304, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002749/0.3307, allocations: 129.4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3307, allocations: 4.156 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3307, allocations: 8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3308, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.3309, allocations: 19.92 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3309, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.331, allocations: 15.91 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.331, allocations: 7.984 kB / 1.093 GB, free: 11.85 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.0001186/0.3311, allocations: 134.7 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3311, allocations: 11.91 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3312, allocations: 4.375 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3312, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3312, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3312, allocations: 3.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.3318, allocations: 434.5 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3318, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.3318, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3318, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3319, allocations: 7.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3319, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3319, allocations: 3.938 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.3322, allocations: 255.5 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3323, allocations: 89 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3323, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3324, allocations: 11.98 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3325, allocations: 11.94 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3325, allocations: 3.984 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.3325, allocations: 95.27 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3326, allocations: 3.938 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003294/0.3329, allocations: 43.94 kB / 1.094 GB, free: 10.65 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.0003539/0.3333, allocations: 160.9 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.3336, allocations: 91.89 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3336, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3337, allocations: 47.91 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.334, allocations: 20.52 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3345, allocations: 195.7 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3348, allocations: 0.6924 MB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.3348, allocations: 4 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3348, allocations: 19.42 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3349, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of Templates: time 0.004748/0.3396, allocations: 1.711 MB / 1.097 GB, free: 7.688 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches