Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001822/0.001822, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002022/0.002022, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.573/1.573, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 1.059 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 160.7 MB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002854/0.3511, allocations: 1.536 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3527, allocations: 0.7684 MB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.3528, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.3528, allocations: 7.922 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.3529, allocations: 15.86 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.3536, allocations: 131.5 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3537, allocations: 87.77 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3538, allocations: 15.98 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3539, allocations: 43.84 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.354, allocations: 39.83 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.354, allocations: 8 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.3543, allocations: 99.89 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.3543, allocations: 27.91 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.3544, allocations: 43.8 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.3546, allocations: 159.4 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3546, allocations: 0 / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3546, allocations: 0 / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.3546, allocations: 0 / 1.219 GB, free: 12.42 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.000757/0.3554, allocations: 458.4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3555, allocations: 12.03 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3555, allocations: 16.83 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3557, allocations: 184.2 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3557, allocations: 8.375 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.3557, allocations: 8.375 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.356, allocations: 93.88 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.356, allocations: 3.938 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.356, allocations: 4 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.356, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3561, allocations: 43.97 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.3568, allocations: 320.7 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3569, allocations: 58.55 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.357, allocations: 36.84 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.357, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.3573, allocations: 99.39 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3573, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005105/0.3579, allocations: 193.5 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3579, allocations: 59.39 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.358, allocations: 121.8 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.358, allocations: 29.7 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.3581, allocations: 96.52 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3581, allocations: 31.78 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.3582, allocations: 33.7 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3584, allocations: 323.1 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.3584, allocations: 23.98 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3585, allocations: 73.98 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3587, allocations: 113.9 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3587, allocations: 3.938 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002561/0.359, allocations: 133.5 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.359, allocations: 4 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.359, allocations: 0 / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.359, allocations: 4 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.3591, allocations: 19.92 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3591, allocations: 4 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.3592, allocations: 16.08 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3592, allocations: 8 kB / 1.222 GB, free: 9.555 MB / 0.9669 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.0001102/0.3593, allocations: 131.5 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.3594, allocations: 7.953 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3594, allocations: 12.36 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3594, allocations: 0 / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3594, allocations: 4 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3594, allocations: 0 / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.36, allocations: 434.3 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.36, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.36, allocations: 4 kB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.36, allocations: 4 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.36, allocations: 3.984 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.36, allocations: 0 / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3601, allocations: 7.938 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.3604, allocations: 255.4 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3605, allocations: 85 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3605, allocations: 4 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.3606, allocations: 7.984 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.3607, allocations: 7.938 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3607, allocations: 7.984 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.3608, allocations: 99.33 kB / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3608, allocations: 0 / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003338/0.3611, allocations: 51.88 kB / 1.223 GB, free: 8.355 MB / 0.9669 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.0004502/0.3616, allocations: 156.5 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3618, allocations: 88.08 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3618, allocations: 4.125 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.362, allocations: 47.91 kB / 1.223 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.3623, allocations: 11.92 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.3628, allocations: 219.7 kB / 1.223 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.3631, allocations: 0.6963 MB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.3632, allocations: 4.188 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.3632, allocations: 15.42 kB / 1.224 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3632, allocations: 3.938 kB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of Templates: time 0.005114/0.3683, allocations: 1.734 MB / 1.225 GB, free: 5.352 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.433104055933654]