Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.001539/0.001539, allocations: 118.9 kB / 17.13 MB, free: 5.781 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.001665/0.001665, allocations: 193.2 kB / 20.08 MB, free: 2.871 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.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.584/2.584, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2941, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002832/0.2969, allocations: 1.515 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.2983, allocations: 0.7564 MB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.2984, allocations: 4 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.2984, allocations: 3.938 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.2985, allocations: 15.84 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.299, allocations: 135.5 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.2992, allocations: 83.77 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.2993, allocations: 19.94 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.2994, allocations: 43.89 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.2994, allocations: 39.83 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.2995, allocations: 12 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.2997, allocations: 103.8 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.2997, allocations: 27.91 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.2998, allocations: 35.8 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3, allocations: 155.5 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3001, allocations: 3.984 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3001, allocations: 0 / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.3001, allocations: 0 / 1.217 GB, free: 13.96 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.0007243/0.3008, allocations: 458.4 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3008, allocations: 16.03 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.3009, allocations: 8.891 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.301, allocations: 184.2 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.301, allocations: 8.359 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3011, allocations: 8.375 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.3013, allocations: 85.89 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3013, allocations: 3.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3013, allocations: 7.984 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3013, allocations: 4 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.3015, allocations: 47.97 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.3021, allocations: 312.7 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3022, allocations: 58.55 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3024, allocations: 40.84 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3024, allocations: 7.984 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3026, allocations: 95.39 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3026, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005249/0.3031, allocations: 185.5 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.3032, allocations: 55.41 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3033, allocations: 133.8 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3033, allocations: 29.7 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.3034, allocations: 92.52 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3034, allocations: 27.78 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.3035, allocations: 33.7 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3036, allocations: 326.8 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3037, allocations: 23.98 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3038, allocations: 77.98 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3041, allocations: 113.9 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3041, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002672/0.3043, allocations: 125.9 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3043, allocations: 9.875 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3043, allocations: 0 / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3044, allocations: 8.156 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.3045, allocations: 23.86 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3045, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.3045, allocations: 19.92 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3046, allocations: 4 kB / 1.219 GB, free: 11.1 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.0001108/0.3047, allocations: 135.5 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3047, allocations: 3.953 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3047, allocations: 8.375 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3047, allocations: 4 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3047, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3047, allocations: 3.984 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.3053, allocations: 438.3 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3053, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.3054, allocations: 8 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3054, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3054, allocations: 7.984 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3054, allocations: 4 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3054, allocations: 3.938 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.3058, allocations: 247.4 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3058, allocations: 89 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3059, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.306, allocations: 4 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.306, allocations: 15.92 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.306, allocations: 11.98 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.3061, allocations: 91.27 kB / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3061, allocations: 0 / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003195/0.3064, allocations: 39.94 kB / 1.22 GB, free: 9.906 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.0003834/0.3068, allocations: 176.7 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.3071, allocations: 87.89 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3071, allocations: 0 / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3072, allocations: 43.91 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.3075, allocations: 11.98 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.308, allocations: 242 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3083, allocations: 0.6924 MB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.3084, allocations: 11.44 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3084, allocations: 0 / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of Templates: time 0.003862/0.3122, allocations: 1.8 MB / 1.223 GB, free: 6.805 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.833124559139833]