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.001488/0.001488, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001374/0.001373, allocations: 187 kB / 17.34 MB, free: 5.723 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.09 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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 68.12 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8584, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002583/0.8611, allocations: 1.513 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.8624, allocations: 0.7491 MB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.8624, allocations: 0 / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.8625, allocations: 5.109 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.8625, allocations: 11.73 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.8631, allocations: 131.2 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.8633, allocations: 100.9 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.8634, allocations: 8.531 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.8635, allocations: 38.69 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.8636, allocations: 46.89 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.8636, allocations: 8.188 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.8638, allocations: 96.06 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.8639, allocations: 24.22 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.8639, allocations: 46.91 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.8642, allocations: 154.6 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8642, allocations: 0 / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8642, allocations: 0 / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.8643, allocations: 0 / 1.091 GB, free: 3.664 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.0005901/0.8648, allocations: 452.3 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8649, allocations: 9.312 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.865, allocations: 10.2 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.865, allocations: 179.2 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.8651, allocations: 7.812 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.8651, allocations: 9.344 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.8653, allocations: 89.94 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8654, allocations: 3.938 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.8654, allocations: 1.797 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8654, allocations: 0.875 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.8656, allocations: 53.31 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.8661, allocations: 323.7 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.8663, allocations: 67.69 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.8664, allocations: 47.02 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.8665, allocations: 1.594 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.8667, allocations: 96.22 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.8667, allocations: 0 / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005068/0.8672, allocations: 188.1 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.8673, allocations: 55.11 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.8674, allocations: 134.1 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8674, allocations: 27.58 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.8674, allocations: 101.6 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.8675, allocations: 20.81 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.8675, allocations: 31.53 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.8676, allocations: 323.5 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.8677, allocations: 29.22 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.8678, allocations: 76.44 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.868, allocations: 107.4 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.868, allocations: 4 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000257/0.8682, allocations: 134.5 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8682, allocations: 5.094 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8683, allocations: 2.938 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8683, allocations: 2.281 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.8684, allocations: 18.25 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.8684, allocations: 3.781 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.8685, allocations: 18.38 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.8685, allocations: 4.875 kB / 1.094 GB, free: 1.5 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 8.031e-05/0.8686, allocations: 131.8 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.8686, allocations: 11.7 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.8686, allocations: 11.25 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8687, allocations: 1.062 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8687, allocations: 1.672 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8687, allocations: 4 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.8692, allocations: 430.2 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8692, allocations: 4 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.8692, allocations: 10.31 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8692, allocations: 3.938 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.8693, allocations: 4.031 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8693, allocations: 1.094 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8693, allocations: 4.594 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.8696, allocations: 251.7 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.8697, allocations: 83.69 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.8697, allocations: 6.906 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.8698, allocations: 4.562 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.8699, allocations: 10.44 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8699, allocations: 8.859 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.8699, allocations: 97.66 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8699, allocations: 4.688 kB / 1.095 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003401/0.8703, allocations: 41.25 kB / 1.095 GB, free: 0.6016 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.0003365/0.8706, allocations: 164.2 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.8709, allocations: 89 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8709, allocations: 0.6875 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.8711, allocations: 52.64 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8714, allocations: 13.67 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.8718, allocations: 231.2 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.8721, allocations: 0.6945 MB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.8721, allocations: 12.7 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.8721, allocations: 0 / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.00491/0.877, allocations: 1.798 MB / 1.098 GB, free: 15.37 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