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.001356/0.001356, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001329/0.001329, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.03 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8423, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002532/0.8449, allocations: 1.5 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.8461, allocations: 0.7485 MB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.8462, allocations: 0 / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.8462, allocations: 9.672 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.8463, allocations: 19.84 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.8469, allocations: 126.6 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.847, allocations: 94.25 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.8471, allocations: 12.25 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.8472, allocations: 38.55 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.8473, allocations: 48.11 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.8473, allocations: 8.281 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.8475, allocations: 99.67 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.8476, allocations: 24.47 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.8476, allocations: 37.69 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.8479, allocations: 155 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8479, allocations: 1.062 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8479, allocations: 0 / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.8479, allocations: 3.938 kB / 1.091 GB, free: 3.637 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.0005329/0.8485, allocations: 454.1 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.8485, allocations: 9.688 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.8486, allocations: 9.219 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.8486, allocations: 179.4 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.8487, allocations: 8.031 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.8487, allocations: 5.125 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.8489, allocations: 93.89 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.849, allocations: 0.7188 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.849, allocations: 5.359 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.849, allocations: 1.469 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.8492, allocations: 49.14 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.8497, allocations: 323.4 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.8498, allocations: 64.78 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8499, allocations: 49.64 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.85, allocations: 1.406 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.8502, allocations: 88.55 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.8502, allocations: 3.984 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004858/0.8507, allocations: 188.7 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8507, allocations: 58.53 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.8508, allocations: 130.6 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.8509, allocations: 28.11 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.8509, allocations: 96.28 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.8509, allocations: 25.86 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.851, allocations: 35.47 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.851, allocations: 323.9 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.8511, allocations: 33.23 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.8512, allocations: 71.69 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.8514, allocations: 107.1 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8514, allocations: 0.6562 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002577/0.8517, allocations: 134.4 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8517, allocations: 6.266 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8517, allocations: 9.797 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.8517, allocations: 2.469 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.8518, allocations: 18.2 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8519, allocations: 7.547 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.8519, allocations: 14.16 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.852, allocations: 4.938 kB / 1.094 GB, free: 1.465 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 7.557e-05/0.852, allocations: 128.2 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.8521, allocations: 11.56 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.8521, allocations: 12.06 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8521, allocations: 0.7188 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8521, allocations: 1 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8521, allocations: 4.734 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.8526, allocations: 430.4 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8526, allocations: 0 / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.8527, allocations: 9 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8527, allocations: 4.781 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.8527, allocations: 11.92 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8527, allocations: 0.875 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8527, allocations: 4.547 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.8531, allocations: 248.9 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.8531, allocations: 83.86 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.8531, allocations: 2.438 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8532, allocations: 13.62 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.8533, allocations: 8.766 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.8533, allocations: 5.344 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.8534, allocations: 94.02 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8534, allocations: 0 / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003613/0.8538, allocations: 41.67 kB / 1.095 GB, free: 0.5781 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.0003604/0.8541, allocations: 173.5 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.8544, allocations: 94.22 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8544, allocations: 0 / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.8546, allocations: 43.81 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.8549, allocations: 18.81 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.8553, allocations: 231.3 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.8555, allocations: 0.6892 MB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.8556, allocations: 12.48 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8556, allocations: 0.8125 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.00459/0.8602, allocations: 1.788 MB / 1.098 GB, free: 15.34 MB / 0.8731 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/jenkins1/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