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.001191/0.001191, allocations: 120.4 kB / 17.13 MB, free: 6.008 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.001225/0.001225, allocations: 193.2 kB / 20.08 MB, free: 3.078 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.475/1.475, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001913/0.001913, allocations: 67.89 kB / 1.057 GB, free: 2.137 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 160.7 MB / 1.214 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003062/0.2987, allocations: 1.513 MB / 1.216 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3, allocations: 0.7603 MB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.3001, allocations: 4 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.3001, allocations: 7.875 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.3002, allocations: 15.84 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.3007, allocations: 131.6 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3009, allocations: 91.7 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.3009, allocations: 8 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.301, allocations: 47.89 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.3011, allocations: 43.83 kB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3012, allocations: 8 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.3014, allocations: 107.8 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.7e-05/0.3015, allocations: 23.91 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.3015, allocations: 43.8 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3018, allocations: 155.4 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3018, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3018, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3018, allocations: 0 / 1.217 GB, free: 14.14 MB / 0.9669 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.0006936/0.3025, allocations: 462.3 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3025, allocations: 12.03 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.3026, allocations: 8.891 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3028, allocations: 180.2 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3028, allocations: 12.36 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3028, allocations: 8.375 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.303, allocations: 89.83 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3031, allocations: 0 / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.3031, allocations: 7.984 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3031, allocations: 4 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3032, allocations: 43.97 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3038, allocations: 312.8 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.304, allocations: 62.58 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3041, allocations: 40.84 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3041, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.3044, allocations: 95.36 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3044, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005176/0.3049, allocations: 189.7 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3049, allocations: 63.39 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.305, allocations: 121.8 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3051, allocations: 33.64 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3051, allocations: 96.5 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3052, allocations: 27.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.3052, allocations: 33.7 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3054, allocations: 326.8 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.3054, allocations: 23.98 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3056, allocations: 73.98 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3058, allocations: 109.9 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3058, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003053/0.3061, allocations: 137.4 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3061, allocations: 8 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3061, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3061, allocations: 4 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.3062, allocations: 15.98 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3062, allocations: 3.938 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.3063, allocations: 20.08 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3063, allocations: 8 kB / 1.219 GB, free: 11.27 MB / 0.9669 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.0001106/0.3064, allocations: 125.8 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3064, allocations: 7.953 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.3065, allocations: 8.375 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3065, allocations: 3.984 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3065, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3065, allocations: 7.938 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.3071, allocations: 434.3 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.3071, allocations: 4 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3071, allocations: 7.938 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3071, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.3071, allocations: 7.984 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3071, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.3071, allocations: 3.938 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3075, allocations: 255.5 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3076, allocations: 89 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3076, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3077, allocations: 3.984 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3077, allocations: 7.938 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3078, allocations: 7.984 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.3078, allocations: 103 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3078, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003197/0.3082, allocations: 39.94 kB / 1.22 GB, free: 10.08 MB / 0.9669 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.000383/0.3085, allocations: 165.4 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.3088, allocations: 88.14 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3088, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3089, allocations: 39.98 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3092, allocations: 18.83 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.3097, allocations: 233.1 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3101, allocations: 0.6924 MB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.3101, allocations: 15.44 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3101, allocations: 0 / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of Templates: time 0.004052/0.3142, allocations: 1.782 MB / 1.223 GB, free: 7.004 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.819227422820404]