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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 197 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.424/2.424, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6909, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002814/0.6938, allocations: 1.5 MB / 0.951 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.6951, allocations: 0.7453 MB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.6951, allocations: 5.281 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.6952, allocations: 3.938 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.6953, allocations: 17.06 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.6958, allocations: 131.5 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.6959, allocations: 89.83 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.696, allocations: 14.08 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.6961, allocations: 49.55 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.6962, allocations: 36.66 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.6962, allocations: 7.375 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.6964, allocations: 96.38 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.6965, allocations: 31.53 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.6965, allocations: 40.78 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.6967, allocations: 155.2 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6967, allocations: 1.281 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6967, allocations: 0 / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.6968, allocations: 0 / 0.9524 GB, free: 6.977 MB / 0.7169 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.0005262/0.6973, allocations: 455.3 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6973, allocations: 8.719 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.6974, allocations: 17 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.287e-05/0.6975, allocations: 179.8 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.6975, allocations: 4 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.6975, allocations: 9.406 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.6977, allocations: 90.44 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6978, allocations: 8.875 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6978, allocations: 1.125 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6978, allocations: 0.875 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.6979, allocations: 44.06 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.6984, allocations: 335.7 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.6986, allocations: 61.38 kB / 0.9536 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6987, allocations: 44.61 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.6987, allocations: 5.156 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.6989, allocations: 90.61 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.574e-06/0.699, allocations: 1.219 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.6994, allocations: 184.7 kB / 0.9539 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.6995, allocations: 62.12 kB / 0.954 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.6996, allocations: 131.8 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.6996, allocations: 31.2 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.6997, allocations: 91.61 kB / 0.9542 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.6997, allocations: 26.17 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.6997, allocations: 36.23 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.6998, allocations: 325 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.6999, allocations: 24.3 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.7, allocations: 79.42 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.7002, allocations: 111.1 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7002, allocations: 1.219 kB / 0.9548 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002493/0.7004, allocations: 135.3 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7005, allocations: 7.281 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7005, allocations: 1.062 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7005, allocations: 3.344 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.7006, allocations: 23.52 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7006, allocations: 2.156 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.7007, allocations: 12.84 kB / 0.9549 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.7007, allocations: 8.797 kB / 0.955 GB, free: 4.602 MB / 0.7169 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.806e-05/0.7008, allocations: 121.1 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.7008, allocations: 7.281 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.7008, allocations: 9.938 kB / 0.9551 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7009, allocations: 5.125 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7009, allocations: 1.562 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7009, allocations: 3.938 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.7013, allocations: 441.6 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7013, allocations: 0 / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.7014, allocations: 3.031 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7014, allocations: 1.312 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.7014, allocations: 4.922 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7014, allocations: 5 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7014, allocations: 3.938 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.7017, allocations: 245.5 kB / 0.9558 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.7018, allocations: 91.89 kB / 0.9559 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.7018, allocations: 1.438 kB / 0.9559 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.7019, allocations: 6.875 kB / 0.9559 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.702, allocations: 10.7 kB / 0.9559 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.702, allocations: 11.52 kB / 0.9559 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.702, allocations: 97.8 kB / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.702, allocations: 192 / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003257/0.7024, allocations: 39.88 kB / 0.956 GB, free: 3.637 MB / 0.7169 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.0003166/0.7027, allocations: 172.9 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.7029, allocations: 93.52 kB / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.703, allocations: 0 / 0.9563 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.7031, allocations: 52.25 kB / 0.9563 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.7034, allocations: 11.58 kB / 0.9563 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.7038, allocations: 188.9 kB / 0.9565 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.7039, allocations: 0.6905 MB / 0.9572 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.7039, allocations: 8.031 kB / 0.9572 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.704, allocations: 19.61 kB / 0.9572 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.704, allocations: 1.062 kB / 0.9572 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.004265/0.7083, allocations: 1.692 MB / 0.9589 GB, free: 1.695 MB / 0.7169 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