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.004774/0.004774, allocations: 105 kB / 15.74 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.00109/0.00109, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.23/2.23, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 0.9508 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00305/1.013, allocations: 1.493 MB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001396/1.015, allocations: 0.7556 MB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/1.015, allocations: 1.094 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/1.015, allocations: 4.688 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/1.015, allocations: 11.66 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006787/1.016, allocations: 135.5 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/1.016, allocations: 89.64 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/1.016, allocations: 16.45 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/1.016, allocations: 38.06 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/1.016, allocations: 48.14 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/1.016, allocations: 8.031 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/1.016, allocations: 100.2 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/1.016, allocations: 24.83 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/1.017, allocations: 37.91 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/1.017, allocations: 155 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.017, allocations: 0 / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/1.017, allocations: 0 / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.017, allocations: 1.062 kB / 1.091 GB, free: 3.707 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.0006451/1.018, allocations: 456.4 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.018, allocations: 8.812 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/1.018, allocations: 10.23 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.018, allocations: 182 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/1.018, allocations: 8.141 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/1.018, allocations: 5.672 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/1.018, allocations: 89.89 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.018, allocations: 0 / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/1.018, allocations: 2.203 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.018, allocations: 0.8125 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/1.018, allocations: 49.34 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/1.019, allocations: 331.6 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/1.019, allocations: 60.06 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/1.019, allocations: 46.56 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/1.019, allocations: 1.594 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/1.02, allocations: 100.2 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/1.02, allocations: 0.7188 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005941/1.02, allocations: 187.7 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.02, allocations: 55.5 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/1.02, allocations: 130.9 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/1.02, allocations: 27.23 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/1.02, allocations: 101 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.02, allocations: 21.25 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/1.021, allocations: 31.67 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/1.021, allocations: 323.4 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/1.021, allocations: 34.14 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.021, allocations: 72.7 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.021, allocations: 111.3 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.021, allocations: 0 / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002516/1.021, allocations: 134.7 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.021, allocations: 5.438 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.021, allocations: 1.938 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.021, allocations: 2.891 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.768e-05/1.021, allocations: 22.14 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.021, allocations: 8.109 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/1.022, allocations: 14.09 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.022, allocations: 4.75 kB / 1.093 GB, free: 1.535 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.246e-05/1.022, allocations: 129.2 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/1.022, allocations: 8.25 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/1.022, allocations: 11.53 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.022, allocations: 1.5 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.022, allocations: 1.453 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.022, allocations: 4 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/1.022, allocations: 433.9 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/1.022, allocations: 1.859 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/1.022, allocations: 4.609 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/1.022, allocations: 5.125 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.022, allocations: 7.516 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.022, allocations: 0 / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.022, allocations: 5.062 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/1.023, allocations: 252.7 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/1.023, allocations: 83.69 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/1.023, allocations: 2.078 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/1.023, allocations: 9.953 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/1.023, allocations: 9.609 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/1.023, allocations: 5.078 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.258e-05/1.023, allocations: 100.1 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.023, allocations: 0 / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003494/1.023, allocations: 42.47 kB / 1.094 GB, free: 0.6484 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.0003808/1.024, allocations: 181.7 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003146/1.024, allocations: 93.92 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.024, allocations: 0 / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.024, allocations: 48.47 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/1.025, allocations: 13.94 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/1.025, allocations: 197.5 kB / 1.095 GB, free: 332 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/1.025, allocations: 0.6942 MB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.158e-05/1.025, allocations: 5.875 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/1.025, allocations: 16.14 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.025, allocations: 0.9375 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.005442/1.031, allocations: 1.735 MB / 1.097 GB, free: 15.43 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/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