Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.758/2.758, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7863 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.283e-05, allocations: 2.969 kB / 0.7863 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003137/0.00317, allocations: 1.52 MB / 0.7878 GB, free: 10.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004842, allocations: 0.7823 MB / 0.7886 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.004896, allocations: 3.938 kB / 0.7886 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.00493, allocations: 4.781 kB / 0.7886 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.005005, allocations: 21.06 kB / 0.7886 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.005661, allocations: 155.3 kB / 0.7888 GB, free: 9.246 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.005835, allocations: 92.45 kB / 0.7889 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.005926, allocations: 15.97 kB / 0.7889 GB, free: 9.141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.006113, allocations: 64.69 kB / 0.7889 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.006197, allocations: 37.98 kB / 0.789 GB, free: 9.043 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.006225, allocations: 8 kB / 0.789 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.006536, allocations: 139.7 kB / 0.7891 GB, free: 8.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.006577, allocations: 27.89 kB / 0.7891 GB, free: 8.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.868e-05/0.006635, allocations: 23.97 kB / 0.7892 GB, free: 8.848 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.006997, allocations: 183.4 kB / 0.7893 GB, free: 8.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007, allocations: 0.5 kB / 0.7893 GB, free: 8.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.81e-07/0.007001, allocations: 1 kB / 0.7893 GB, free: 8.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.007005, allocations: 4 kB / 0.7893 GB, free: 8.664 MB / 0.698 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.0007231/0.007728, allocations: 394.1 kB / 0.7897 GB, free: 8.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007763, allocations: 8.031 kB / 0.7897 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.008106, allocations: 42.27 kB / 0.7898 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.008343, allocations: 129.7 kB / 0.7899 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.008368, allocations: 4.375 kB / 0.7899 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.008389, allocations: 9.438 kB / 0.7899 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.00864, allocations: 86.12 kB / 0.79 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.008648, allocations: 1.75 kB / 0.79 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.008669, allocations: 8.375 kB / 0.79 GB, free: 7.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.008676, allocations: 3.938 kB / 0.79 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.008845, allocations: 44.59 kB / 0.79 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.009391, allocations: 254 kB / 0.7903 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.009584, allocations: 62.53 kB / 0.7903 GB, free: 7.535 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.009704, allocations: 41.66 kB / 0.7904 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.009724, allocations: 0 / 0.7904 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.009936, allocations: 100 kB / 0.7905 GB, free: 7.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.009937, allocations: 0 / 0.7905 GB, free: 7.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005723/0.01051, allocations: 190.9 kB / 0.7907 GB, free: 7.191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.01058, allocations: 63.39 kB / 0.7907 GB, free: 7.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01072, allocations: 131.7 kB / 0.7908 GB, free: 6.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.01075, allocations: 29.7 kB / 0.7909 GB, free: 6.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.01084, allocations: 92.38 kB / 0.791 GB, free: 6.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.01087, allocations: 23.84 kB / 0.791 GB, free: 6.824 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.01093, allocations: 25.72 kB / 0.791 GB, free: 6.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.01112, allocations: 325.1 kB / 0.7913 GB, free: 6.469 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.01122, allocations: 27.98 kB / 0.7913 GB, free: 6.441 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.01135, allocations: 73.98 kB / 0.7914 GB, free: 6.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.01159, allocations: 112.7 kB / 0.7915 GB, free: 6.219 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.0116, allocations: 4 kB / 0.7915 GB, free: 6.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003192/0.01192, allocations: 142.1 kB / 0.7917 GB, free: 6.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01193, allocations: 5.312 kB / 0.7917 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01194, allocations: 4 kB / 0.7917 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01196, allocations: 0 / 0.7917 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.01206, allocations: 17.09 kB / 0.7917 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.01207, allocations: 7.984 kB / 0.7917 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.01214, allocations: 15.89 kB / 0.7917 GB, free: 6.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.01216, allocations: 5.375 kB / 0.7917 GB, free: 6.02 MB / 0.698 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.000128/0.01229, allocations: 123.6 kB / 0.7918 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.01233, allocations: 25.62 kB / 0.7919 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.01236, allocations: 8.438 kB / 0.7919 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01236, allocations: 4 kB / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01237, allocations: 0 / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01237, allocations: 0 / 0.7919 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.01303, allocations: 383 kB / 0.7922 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01303, allocations: 5.562 kB / 0.7922 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.01308, allocations: 4 kB / 0.7922 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01308, allocations: 0 / 0.7922 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01309, allocations: 3.984 kB / 0.7922 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01309, allocations: 1.031 kB / 0.7922 GB, free: 5.434 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.0131, allocations: 3.984 kB / 0.7923 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.01356, allocations: 275 kB / 0.7925 GB, free: 5.148 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.01358, allocations: 7.953 kB / 0.7925 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.0136, allocations: 0 / 0.7925 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.01371, allocations: 7.984 kB / 0.7925 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.01376, allocations: 8.078 kB / 0.7925 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.01377, allocations: 7.984 kB / 0.7925 GB, free: 5.117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.01385, allocations: 97.52 kB / 0.7926 GB, free: 5.023 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.01385, allocations: 3.938 kB / 0.7926 GB, free: 5.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003293/0.01418, allocations: 44.42 kB / 0.7927 GB, free: 4.977 MB / 0.698 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.000452/0.01464, allocations: 163.2 kB / 0.7928 GB, free: 4.824 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.01492, allocations: 90.23 kB / 0.7929 GB, free: 4.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01492, allocations: 0 / 0.7929 GB, free: 4.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.01505, allocations: 44.83 kB / 0.793 GB, free: 4.695 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.01539, allocations: 24.75 kB / 0.793 GB, free: 4.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.01588, allocations: 196.8 kB / 0.7932 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.01597, allocations: 76.61 kB / 0.7933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.999e-05/0.01601, allocations: 8.266 kB / 0.7933 GB, free: 4.355 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.01604, allocations: 12.5 kB / 0.7933 GB, free: 4.344 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.01604, allocations: 0 / 0.7933 GB, free: 4.344 MB / 0.698 GB Notification: Performance of Templates: time 0.005913/0.02196, allocations: 1.769 MB / 0.795 GB, free: 2.617 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.604394401074387]