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.001951/0.001951, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002065/0.002065, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.937/2.937, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] 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.793e-06/1.793e-06, allocations: 0 / 0.7863 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.277e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003054/0.003087, allocations: 1.536 MB / 0.7878 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.004797, allocations: 0.8002 MB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.004849, allocations: 0.5312 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.004881, allocations: 4.781 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.004983, allocations: 20.55 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.005673, allocations: 152.1 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.00584, allocations: 99.67 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.00593, allocations: 4.562 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.006113, allocations: 60.56 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.006199, allocations: 41.28 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.006239, allocations: 8 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.006554, allocations: 143.6 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.006589, allocations: 23.91 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.006645, allocations: 24.83 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.006984, allocations: 187.5 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.006987, allocations: 0.5 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006988, allocations: 0 / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.006993, allocations: 0.8125 kB / 0.7894 GB, free: 9.699 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.0007843/0.007777, allocations: 492.1 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.007824, allocations: 8.031 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.008175, allocations: 33.45 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.008406, allocations: 145.7 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.008431, allocations: 384 / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.008453, allocations: 16.36 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.008674, allocations: 83.64 kB / 0.7901 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.008684, allocations: 4.188 kB / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.008697, allocations: 384 / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.008705, allocations: 7.875 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.008854, allocations: 41.19 kB / 0.7902 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.009444, allocations: 325.2 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.009639, allocations: 63.05 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.00975, allocations: 43.66 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.009774, allocations: 5.156 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.01001, allocations: 101 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.01001, allocations: 3.094 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005527/0.01056, allocations: 189.5 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.01061, allocations: 51.41 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.01079, allocations: 201 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.01082, allocations: 33.69 kB / 0.7911 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01092, allocations: 143.1 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.01095, allocations: 24.05 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.01103, allocations: 48.02 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000269/0.0113, allocations: 0.4923 MB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.01139, allocations: 29.64 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01153, allocations: 97.72 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.01175, allocations: 128.5 kB / 0.7921 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01175, allocations: 4 kB / 0.7921 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003268/0.01208, allocations: 138.6 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.0121, allocations: 7.984 kB / 0.7922 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.0121, allocations: 4 kB / 0.7922 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01212, allocations: 1.438 kB / 0.7922 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01222, allocations: 16 kB / 0.7922 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.01223, allocations: 7.984 kB / 0.7922 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.0123, allocations: 12.55 kB / 0.7922 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01231, allocations: 4 kB / 0.7923 GB, free: 6.488 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.0001366/0.01245, allocations: 178.1 kB / 0.7924 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.01248, allocations: 15.89 kB / 0.7924 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.01251, allocations: 13.33 kB / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01251, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01251, allocations: 4 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01252, allocations: 0.5312 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.01315, allocations: 429.8 kB / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01316, allocations: 0.5312 kB / 0.7929 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.01319, allocations: 7.938 kB / 0.7929 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.0132, allocations: 5.203 kB / 0.7929 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01321, allocations: 4 kB / 0.7929 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01321, allocations: 7.938 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.01322, allocations: 0.5312 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.01366, allocations: 309.1 kB / 0.7932 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.01368, allocations: 15.89 kB / 0.7932 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.0137, allocations: 0 / 0.7932 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.0138, allocations: 9.141 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01384, allocations: 4 kB / 0.7932 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.01387, allocations: 11.98 kB / 0.7932 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001103/0.01398, allocations: 146.4 kB / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01398, allocations: 0 / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000314/0.0143, allocations: 48.8 kB / 0.7934 GB, free: 5.246 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.0004744/0.01477, allocations: 176.1 kB / 0.7936 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.01507, allocations: 101.7 kB / 0.7937 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01507, allocations: 0 / 0.7937 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.0152, allocations: 51.67 kB / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.0155, allocations: 20.44 kB / 0.7937 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01601, allocations: 213.7 kB / 0.7939 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.446e-05/0.0161, allocations: 75.33 kB / 0.794 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.01613, allocations: 4.734 kB / 0.794 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01617, allocations: 16.5 kB / 0.794 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.01617, allocations: 0 / 0.794 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.005814/0.02198, allocations: 1.772 MB / 0.7958 GB, free: 2.836 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) [Timeout 240] 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: 8.133611829020083]