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.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.001929/0.001929, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002449/0.002449, 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.716/2.716, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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 1.643e-06/1.643e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.818e-05, allocations: 5.547 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003195/0.003223, allocations: 1.524 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.00487, allocations: 0.7867 MB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.004927, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.004967, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.005032, allocations: 20.84 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.005687, allocations: 156.9 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.005844, allocations: 99.69 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.005931, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.006105, allocations: 63.88 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.006184, allocations: 36.72 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.006209, allocations: 8 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.006501, allocations: 140.5 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.006534, allocations: 19.92 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.006589, allocations: 23.97 kB / 0.7892 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.006924, allocations: 197.8 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.006928, allocations: 0 / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.006929, allocations: 0 / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.006933, allocations: 0 / 0.7893 GB, free: 9.793 MB / 0.7448 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.0007103/0.007644, allocations: 389.2 kB / 0.7897 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.007681, allocations: 8.031 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.008022, allocations: 34.61 kB / 0.7898 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.008293, allocations: 137.6 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.008322, allocations: 8.375 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.008343, allocations: 4.969 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.008588, allocations: 83.55 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.008597, allocations: 192 / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.008615, allocations: 4.359 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.008624, allocations: 8.531 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.008797, allocations: 44.75 kB / 0.79 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.009348, allocations: 253.5 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.009537, allocations: 58.56 kB / 0.7903 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.00965, allocations: 38.2 kB / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.009673, allocations: 4 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.009897, allocations: 101.1 kB / 0.7905 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.009898, allocations: 0 / 0.7905 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005754/0.01047, allocations: 193.5 kB / 0.7907 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.01053, allocations: 56.59 kB / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01067, allocations: 130.8 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.0107, allocations: 33.7 kB / 0.7909 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.01079, allocations: 104.8 kB / 0.791 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.01081, allocations: 13.84 kB / 0.791 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.01088, allocations: 33.7 kB / 0.791 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.01106, allocations: 322.8 kB / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.01115, allocations: 23.98 kB / 0.7913 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01128, allocations: 80.17 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.0115, allocations: 108.5 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.0115, allocations: 0.5312 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003188/0.01182, allocations: 152.2 kB / 0.7917 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01183, allocations: 4 kB / 0.7917 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01184, allocations: 4 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.01186, allocations: 0 / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.01196, allocations: 15.98 kB / 0.7917 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.01197, allocations: 4.844 kB / 0.7917 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.01204, allocations: 11.89 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01206, allocations: 12.83 kB / 0.7917 GB, free: 7.152 MB / 0.7448 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.0001178/0.01218, allocations: 123.1 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.01221, allocations: 15.89 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.01224, allocations: 9.281 kB / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01224, allocations: 0 / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.01225, allocations: 3.984 kB / 0.7919 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01225, allocations: 5.219 kB / 0.7919 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.01287, allocations: 378.1 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01287, allocations: 1.312 kB / 0.7922 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.01292, allocations: 11.98 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.01292, allocations: 4 kB / 0.7922 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01294, allocations: 5.625 kB / 0.7922 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01294, allocations: 3.938 kB / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01294, allocations: 0 / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.01338, allocations: 263.8 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.01339, allocations: 10.61 kB / 0.7925 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01342, allocations: 7.984 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01352, allocations: 4 kB / 0.7925 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.01358, allocations: 7.984 kB / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.01359, allocations: 4 kB / 0.7925 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.01367, allocations: 95.27 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01367, allocations: 3.938 kB / 0.7926 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003379/0.01401, allocations: 44.42 kB / 0.7927 GB, free: 6.121 MB / 0.7448 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.0004427/0.01445, allocations: 172.1 kB / 0.7928 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01475, allocations: 97.12 kB / 0.7929 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01475, allocations: 0 / 0.7929 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.01488, allocations: 45.06 kB / 0.793 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01519, allocations: 19.92 kB / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.01569, allocations: 206 kB / 0.7932 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.01578, allocations: 78.27 kB / 0.7933 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.01581, allocations: 8.719 kB / 0.7933 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.01585, allocations: 12.5 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01585, allocations: 0 / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.005852/0.0217, allocations: 1.77 MB / 0.795 GB, free: 3.73 MB / 0.7448 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.717000782024115]