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.001491/0.001491, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001551/0.001552, allocations: 189.7 kB / 17.35 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.336/2.336, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.002251, allocations: 55.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8709, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.0026/0.8736, allocations: 1.511 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.8749, allocations: 0.7444 MB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.8749, allocations: 1.125 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.875, allocations: 9.094 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.8751, allocations: 15.38 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.8757, allocations: 130.9 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.8758, allocations: 97.41 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.8759, allocations: 7.484 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.876, allocations: 39.2 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.8761, allocations: 47.97 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.8761, allocations: 11.59 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.8763, allocations: 95.11 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.8764, allocations: 25.09 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.8764, allocations: 42.92 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.8767, allocations: 157.9 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8767, allocations: 0 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8767, allocations: 1.219 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8767, allocations: 0 / 1.091 GB, free: 3.684 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.0005689/0.8773, allocations: 449.7 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.8774, allocations: 13.56 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.8774, allocations: 10.02 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.8775, allocations: 174.1 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.8776, allocations: 4.156 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.8776, allocations: 10.23 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.8779, allocations: 93.69 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8779, allocations: 0 / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.8779, allocations: 1.578 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.8779, allocations: 0.6875 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.8781, allocations: 49.94 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.8787, allocations: 322.8 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.8788, allocations: 68.81 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.879, allocations: 47.06 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.879, allocations: 4.938 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.8792, allocations: 88.05 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.8792, allocations: 3.938 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005426/0.8798, allocations: 188.3 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.8798, allocations: 59.06 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.8799, allocations: 138 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.88, allocations: 27.11 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.88, allocations: 97.8 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.88, allocations: 20.7 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.8801, allocations: 31.83 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.051e-05/0.8801, allocations: 323.7 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.8802, allocations: 28.72 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.965e-05/0.8803, allocations: 73.98 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.8805, allocations: 111.3 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8805, allocations: 0 / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/0.8808, allocations: 138.2 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8808, allocations: 6.188 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8808, allocations: 1.781 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.8809, allocations: 3.141 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.881, allocations: 22.28 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.881, allocations: 3.438 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.8811, allocations: 13.33 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.8811, allocations: 5.281 kB / 1.094 GB, free: 1.52 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.595e-05/0.8812, allocations: 126.2 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.8812, allocations: 8.266 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.8812, allocations: 10.73 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8812, allocations: 6.156 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8812, allocations: 0 / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8812, allocations: 1.422 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.8818, allocations: 434.2 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8818, allocations: 0 / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.8819, allocations: 9.859 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8819, allocations: 4.969 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.8819, allocations: 6.719 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8819, allocations: 4.75 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.8819, allocations: 8.75 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.8823, allocations: 248 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.8823, allocations: 84.38 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.8823, allocations: 6.828 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.8824, allocations: 4.656 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.8825, allocations: 9.656 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.8825, allocations: 8.906 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.8826, allocations: 97.7 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8826, allocations: 0.6875 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003696/0.8829, allocations: 41.64 kB / 1.095 GB, free: 0.625 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.0003903/0.8833, allocations: 163.6 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.8837, allocations: 101.2 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8837, allocations: 0 / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.8838, allocations: 52.8 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.8841, allocations: 15.44 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.8846, allocations: 233.2 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.8849, allocations: 0.6908 MB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.8849, allocations: 12.3 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.8849, allocations: 0 / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.004992/0.8899, allocations: 1.789 MB / 1.098 GB, free: 15.39 MB / 0.8731 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/jenkins1/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