Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001424/0.001424, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.519/1.519, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7321 GB, free: 12.47 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.061 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8968/0.8988, allocations: 160.8 MB / 1.218 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002845/0.9016, allocations: 1.531 MB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.9031, allocations: 0.7637 MB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.9031, allocations: 0 / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.9032, allocations: 9.266 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.9032, allocations: 13.25 kB / 1.221 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.9038, allocations: 144.5 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.9039, allocations: 89.2 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.904, allocations: 8.484 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.9041, allocations: 45.69 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.9042, allocations: 45.27 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.9042, allocations: 11.5 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.9045, allocations: 135.2 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.9045, allocations: 22.78 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.9046, allocations: 41.92 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.9049, allocations: 151.5 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9049, allocations: 0.9375 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9049, allocations: 0 / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9049, allocations: 0 / 1.221 GB, free: 1.484 MB / 0.92 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.0006692/0.9055, allocations: 466.7 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9056, allocations: 9.281 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.9056, allocations: 9.328 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.9058, allocations: 195.2 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.9058, allocations: 7.859 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.9058, allocations: 9.562 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.9061, allocations: 83.05 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9061, allocations: 0 / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.9061, allocations: 4.891 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9061, allocations: 1.094 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.9062, allocations: 44.44 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.9068, allocations: 326.9 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.907, allocations: 58.14 kB / 1.223 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.9071, allocations: 37.25 kB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.9071, allocations: 2.094 kB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.9074, allocations: 103.5 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.9074, allocations: 0 / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005209/0.9079, allocations: 185.2 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.908, allocations: 61.5 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9081, allocations: 131.1 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.9082, allocations: 28.42 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.9082, allocations: 98.73 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.9083, allocations: 19.2 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.9083, allocations: 32.39 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9084, allocations: 324.9 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.9085, allocations: 28.23 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.9086, allocations: 78.08 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.9088, allocations: 112.3 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9088, allocations: 0 / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002647/0.9091, allocations: 135.8 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9091, allocations: 8.375 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9091, allocations: 2.188 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9091, allocations: 6.344 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.9093, allocations: 19.2 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.9093, allocations: 2.344 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.9093, allocations: 13.3 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.9094, allocations: 13.31 kB / 1.224 GB, free: 15.1 MB / 0.9356 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.0001141/0.9095, allocations: 128.1 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.9095, allocations: 7.078 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.9095, allocations: 14.55 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9095, allocations: 1.094 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9095, allocations: 0 / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9095, allocations: 5.125 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.9101, allocations: 436.9 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9101, allocations: 1.156 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.9102, allocations: 7.438 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9102, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.9102, allocations: 6.141 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9102, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9102, allocations: 5.031 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.9106, allocations: 249.1 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.9107, allocations: 83.16 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.9107, allocations: 6.094 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.9108, allocations: 6.953 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.9108, allocations: 10.2 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.9109, allocations: 3.062 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.633e-05/0.9109, allocations: 101.6 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9109, allocations: 4 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003569/0.9113, allocations: 43.7 kB / 1.225 GB, free: 14.14 MB / 0.9356 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.0004651/0.9117, allocations: 166.8 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.912, allocations: 94.42 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.912, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.9122, allocations: 48.12 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.9125, allocations: 21.02 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.913, allocations: 196.4 kB / 1.225 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.9133, allocations: 0.6947 MB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.9133, allocations: 8.578 kB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.9134, allocations: 11.81 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.9134, allocations: 3.938 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.005309/0.9187, allocations: 1.742 MB / 1.228 GB, free: 12.16 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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: 9.02918944787234]