Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.94/2.94, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.88 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8304, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003105/0.8335, allocations: 1.519 MB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.8351, allocations: 0.765 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.8351, allocations: 3.938 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.8352, allocations: 7.938 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.8352, allocations: 15.86 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.8359, allocations: 131.5 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.836, allocations: 87.77 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.8361, allocations: 11.98 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.8362, allocations: 43.78 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.8363, allocations: 47.83 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.8363, allocations: 8 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.8366, allocations: 103.9 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.8366, allocations: 15.98 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.8367, allocations: 47.78 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.837, allocations: 154.1 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.837, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.837, allocations: 3.938 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.837, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 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.0007852/0.8378, allocations: 462.3 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8378, allocations: 8.031 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.8379, allocations: 12.84 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.8381, allocations: 183.9 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.8381, allocations: 8.375 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.8381, allocations: 8.375 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.8384, allocations: 93.88 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8384, allocations: 0 / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.8384, allocations: 3.938 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8384, allocations: 0 / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8386, allocations: 47.97 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.8392, allocations: 324.6 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.8394, allocations: 58.55 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.8395, allocations: 36.84 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.8395, allocations: 4 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.8398, allocations: 103.5 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.8398, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006333/0.8404, allocations: 177.5 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.8405, allocations: 63.38 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.8407, allocations: 133.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.8407, allocations: 25.7 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.8408, allocations: 92.38 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.8408, allocations: 23.86 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.8409, allocations: 29.7 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.841, allocations: 326.8 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.8411, allocations: 27.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.8413, allocations: 73.92 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.8415, allocations: 113.8 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.8415, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002741/0.8417, allocations: 133.5 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.8418, allocations: 13.7 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8418, allocations: 3.984 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.8418, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.8419, allocations: 15.94 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.8419, allocations: 3.984 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.842, allocations: 12.48 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.842, allocations: 12 kB / 1.279 GB, free: 14.71 MB / 0.9825 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 0.0001227/0.8421, allocations: 117.9 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.8421, allocations: 11.94 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.8422, allocations: 24.23 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8422, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8422, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8422, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.8428, allocations: 446.3 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8428, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.8428, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8428, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.8429, allocations: 3.984 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8429, allocations: 4 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8429, allocations: 3.938 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.8433, allocations: 247.4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.8433, allocations: 85.06 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.8434, allocations: 4 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8435, allocations: 7.984 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.8435, allocations: 7.938 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.8435, allocations: 3.984 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.8436, allocations: 99.27 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8436, allocations: 0 / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003134/0.8439, allocations: 43.94 kB / 1.28 GB, free: 13.52 MB / 0.9825 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.0004376/0.8443, allocations: 175.5 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.8446, allocations: 84.08 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8446, allocations: 4.062 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.8448, allocations: 43.92 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.8451, allocations: 19.98 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.8456, allocations: 212 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.846, allocations: 0.6924 MB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.8461, allocations: 12.11 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.8461, allocations: 15.44 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8461, allocations: 0 / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.00544/0.8516, allocations: 1.747 MB / 1.283 GB, free: 10.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.982596199959517]