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.001964/0.001964, allocations: 83.75 kB / 20.24 MB, free: 4.172 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.002004/0.002004, allocations: 153.4 kB / 23.54 MB, free: 0.8672 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.96/2.96, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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 2.324e-06/2.324e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.878e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.005224/0.005263, allocations: 1.54 MB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.008443, allocations: 0.8052 MB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.284e-05/0.008516, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.008565, allocations: 7.922 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.008672, allocations: 13.08 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.009792, allocations: 158.8 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.01007, allocations: 91.7 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.01018, allocations: 7.984 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.01047, allocations: 63.88 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.0106, allocations: 27.95 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.01064, allocations: 8 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.01123, allocations: 143.6 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.01129, allocations: 27.89 kB / 0.7892 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.01139, allocations: 32.62 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.01192, allocations: 179.5 kB / 0.7894 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01192, allocations: 5.656 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/0.01193, allocations: 0 / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.01193, allocations: 0 / 0.7894 GB, free: 9.738 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.001202/0.01313, allocations: 487.1 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.01319, allocations: 12.78 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.0138, allocations: 38.2 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.01415, allocations: 128.5 kB / 0.79 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.01421, allocations: 16.3 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.01425, allocations: 9.906 kB / 0.79 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.01464, allocations: 86.14 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01465, allocations: 192 / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.01467, allocations: 384 / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.01469, allocations: 9.188 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.01498, allocations: 43.97 kB / 0.7902 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.01595, allocations: 320.9 kB / 0.7905 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.01631, allocations: 63.05 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.01653, allocations: 44.19 kB / 0.7906 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.01656, allocations: 0.5312 kB / 0.7906 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.01694, allocations: 109.9 kB / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.01694, allocations: 0 / 0.7907 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.001005/0.01794, allocations: 186.3 kB / 0.7909 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.01802, allocations: 55.94 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.01833, allocations: 202.4 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.01837, allocations: 25.7 kB / 0.7911 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.01854, allocations: 147 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.01859, allocations: 19.91 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.01872, allocations: 44.52 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004431/0.01916, allocations: 0.5001 MB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.01932, allocations: 23.98 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.01959, allocations: 94.44 kB / 0.7919 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.02019, allocations: 127.6 kB / 0.792 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02019, allocations: 0.8125 kB / 0.792 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005809/0.02077, allocations: 147.5 kB / 0.7922 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.0208, allocations: 6.031 kB / 0.7922 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.02081, allocations: 3.984 kB / 0.7922 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.02083, allocations: 4.969 kB / 0.7922 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.02103, allocations: 16 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.02106, allocations: 11.98 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.02119, allocations: 14.2 kB / 0.7922 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02121, allocations: 4 kB / 0.7922 GB, free: 6.531 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.0002319/0.02145, allocations: 172.5 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.02151, allocations: 19.88 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.02156, allocations: 15.67 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02157, allocations: 0 / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02157, allocations: 3.938 kB / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02158, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.02272, allocations: 441.4 kB / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02272, allocations: 0 / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.0228, allocations: 4 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.0228, allocations: 0 / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.02283, allocations: 5.078 kB / 0.7929 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02283, allocations: 0 / 0.7929 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.02284, allocations: 3.938 kB / 0.7929 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.02367, allocations: 316.8 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.02371, allocations: 7.953 kB / 0.7932 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.02375, allocations: 4.562 kB / 0.7932 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.02393, allocations: 5.125 kB / 0.7932 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.02399, allocations: 7.922 kB / 0.7932 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.02402, allocations: 7.984 kB / 0.7932 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001667/0.02419, allocations: 146.2 kB / 0.7934 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/0.02419, allocations: 0 / 0.7934 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006159/0.02481, allocations: 43.88 kB / 0.7934 GB, free: 5.293 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.0007361/0.02554, allocations: 178.1 kB / 0.7936 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.02605, allocations: 99.5 kB / 0.7937 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02605, allocations: 0 / 0.7937 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.0263, allocations: 51.67 kB / 0.7937 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.02684, allocations: 19.92 kB / 0.7937 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.02765, allocations: 215.2 kB / 0.7939 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.02779, allocations: 76.39 kB / 0.794 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.371e-05/0.02785, allocations: 6.016 kB / 0.794 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.02791, allocations: 17.62 kB / 0.794 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.02791, allocations: 0 / 0.794 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of Templates: time 0.01029/0.0382, allocations: 1.778 MB / 0.7958 GB, free: 2.859 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 240] 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: 8.18003711104393]